OGM-513 Adding support for count() queries in MongoDB