I am working with a mongoose node.js restAPI codebase and the mongodb heavy lifting, paging etc is all done via the two files below.
I also need to get a count of the