I'm trying to get a count of documents with a certain attribute using Mongoose, and for some reason it will not return the correct value if I use a variable inside a loop for the attribute name. For example, the below code works just fine on its own:I'm trying to get a count of documents with a c