Exercise 2: Grouping the documents in the aggregation pipeline