Is there any way for me to return multiple counts in one request?
Rather then running users.find({gender:"male"}).count(); and getting 231 then running users.find({gender:"female"}).count(); getting 416 something that could return {male:"231",female:"416"}. I know map reduce can do this, is that my best bet?
GroupbyinAggregationframework will do the trick