Added count() function to the EMongoDocument