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