Add count() function to EMongoDocument - Completed version

As discussed, this is completed version.