@Override
  public int getTotalResourceCount() {
    return totalResourceCount;
  }
Constructor.

@param resources           the set of resources returned by the query.
@param sortedResponse      indicates whether or not the response is sorted
@param pagedResponse       indicates whether or not the response is paged
@param totalResourceCount  the total number of resources returned by the query
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/QueryResponseImpl.java