docs: public Search counts(String[] countsfields) {
          assert (countsfields.length > 0);
          JsonArray countsJsonArray = new JsonArray();
          for(String countsfield : countsfields) {
              JsonPrimitive element = new JsonPrimitive(countsfield);
              countsJsonArray.add(element);
          }
          databaseHelper.query("counts", countsJsonArray);
          return this;
      }