Aggregation pipeline for one use case

Take a look at