Fetching many to many along with some aggregation using select - Drizzle Team