Is there a way to get the total number of documents in a MongoDB database by months (for example, so I can display a chart showing the evolution of the number of users) in a single request? or should I request each month individually?
I don't want to see the number of users created in a month but the total (this month + previous months).