public int getPendingHostRequestCount() {
    return outstandingHostRequests.size() + requestsWithReservedHosts.size();
  }
Logical Request implementation used to provision a cluster deployed by Blueprints.
ambari-server/src/main/java/org/apache/ambari/server/topology/LogicalRequest.java