So I have the following code:
pastlocation.aggregate([ { \'$project\': { \'location\': 1, \'month\': {