public Task < Long > count ( ) { return dispatcher . dispatchTask ( new Callable < Long > ( ) { @ Override public Long call ( ) { return proxy . count ( ) ; } } ) ; }
Counts the number of documents in the collection .