public CountRequestBuilder count(DateRange range, String type) throws NoIndexSelectedException { return index.count(client, range, type); }