Hi Manoj,
regarding your first question:
you don’t need aggregate here, just store the date as it is in the released field (or keep it empty if not released yet)
since you need only the number of records (and not the records themselves) you can use db.collection.count()
db.movies.count( { released: { $gte: new Date('01/01/1990') } } )