I am writing a mongo aggregation query which will give me a gender-wise count of students.
My data is stored in a format like this.
[ {_id:\'232ferfe34