Added mongodb aggregation query