Added parameter to Collection.count in order to make run MongoEngine