count for GenericMongoRepository