Given the Schema Displayed Below & MongoDB shell version: 2.0.4:
How would I go about counting the number of items in the impressions array ?
I am thinking I have to do a Map Reduce, which seems to be a little complex, I thought that the count Function would do it.
Can someone Demonstrate this?

engage.impressions.length, but i'm pretty sure that's not what you want, but that's basically what you're asking.function(doc) { return doc.impressions.length}, your best bet is the have acount.impressionsattribute that you update the same time you update impressions..findis an asynchronous function.