code: public long getCount(T query, T fields, long limit, long skip) throws MongoException {
          return dbCollection.getCount(convertToBasicDbObject(query), convertToBasicDbObject(fields), limit, skip);
      }
docs: Returns the number of documents in the collection
  that match the specified query
  
  @param query  query to select documents to count
  @param fields fields to return
  @param limit  limit the count to this value
  @param skip   number of entries to skip
  @return number of documents that match query and fields
  @throws MongoException If an error occurred