- implemented aggregationQuery (basic)