I\'ve been playing around storing tweets inside mongodb, each object looks like this:
{ \"_id\" : ObjectId(\"4c02c58de500fe1be1000005\"), \"contributors\" :
db.collection.find({"createdDate":{$gte:new ISODate("2017-04-14T23:59:59Z"),$lte:new ISODate("2017-04-15T23:59:59Z")}}).count();
Replace collection with name of collection you want to execute query
collection