Talvez te ajude: https://stackoverflow.com/questions/14845981/datetime-group-by-date-and-hour
aqui ele ensina com SQL, to querendo com MongoDB.