code: public Collection<SingularityRequestHistory> getHistoryForRequest(String requestId,  Optional<Integer> count, Optional<Integer> page) {
      final Function<String, String> requestUri = (host) -> String.format(REQUEST_HISTORY_FORMAT, getApiBase(host), requestId);
  
      Optional<Map<String, Object>> maybeQueryParams = Optional.absent();
  
      ImmutableMap.Builder<String, Object> queryParamsBuilder = ImmutableMap.builder();
  
      if (count.isPresent() ) {
        queryParamsBuilder.put("count", count.get());
      }
  
      if (page.isPresent()) {
        queryParamsBuilder.put("page", page.get());
      }
  
      Map<String, Object> queryParams = queryParamsBuilder.build();
      if (!queryParams.isEmpty()) {
        maybeQueryParams = Optional.of(queryParams);
      }
  
      return getCollectionWithParams(requestUri, "request history", maybeQueryParams, REQUEST_HISTORY_COLLECTION);
    }
docs: Retrieve a paged list of updates for a particular {@link SingularityRequest}
  
  @param requestId
  Request ID to look up
  @param count
  Number of items to return per page
  @param page
  Which page of items to return
  @return
  A list of {@link SingularityRequestHistory}