public long Count() { //request the count using the current parameters CollectionCountResult count = MongoDatabaseCommands.CollectionCount( this.Collection.Database, this.Collection.Name, this._Parameters ); return count.TotalDocuments; }