MongoDB.Driver.Collection.Count C# (CSharp) Method

Count() public method

Count all items in the collection.
public Count ( ) : long
return long
        public long Count()
        {
            return this.Count(new Document());
        }

Same methods

Collection::Count ( Document spec ) : long