public int getItemsForContributor(SearchEverywhereContributor<?> contributor) {
    Range<Integer> range = getRangeForContributor(contributor);
    return range == null ? 0 : range.getTo() - range.getFrom() + 1;
  }
public int getItemsForContributor(SearchEverywhereContributor<?> contributor)