I\'m trying to build a Mongo aggregation that match the following "SQL" select:
select g.name, (select count(*)