code: public SearchResponse searchAllWithTargetCount(String[] indices,
              String[] types) {
          return searchAllWithTargetCount(indices, types, null, null);
      }
docs: Search all with target count search response.
  
  @param indices the indices
  @param types   the types
  @return the search response