code: public static FutureRowCount fetchRowCount(MultivaluedMap<String, String> queryParams, Query query) {
          String reqTotalCount = getSingleParam(queryParams.get(REQ_TOTAL_COUNT_PARAM_NAME));
          if (reqTotalCount != null && !"false".equalsIgnoreCase(reqTotalCount) && !"0".equals(reqTotalCount)) {
              return query.findFutureCount();
          }
          return null;
      }
docs: <p>fetchRowCount.</p>
  
  @param queryParams a {@link javax.ws.rs.core.MultivaluedMap} object.
  @param query       a {@link io.ebean.Query} object.
  @return a {@link io.ebean.FutureRowCount} object.