Include aggregations in query result