code: public Observable<ServiceResponseWithHeaders<Page<PoolNodeCounts>, AccountListPoolNodeCountsHeaders>> listPoolNodeCountsWithServiceResponseAsync(final AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions) {
          return listPoolNodeCountsSinglePageAsync(accountListPoolNodeCountsOptions)
              .concatMap(new Func1<ServiceResponseWithHeaders<Page<PoolNodeCounts>, AccountListPoolNodeCountsHeaders>, Observable<ServiceResponseWithHeaders<Page<PoolNodeCounts>, AccountListPoolNodeCountsHeaders>>>() {
                  @Override
                  public Observable<ServiceResponseWithHeaders<Page<PoolNodeCounts>, AccountListPoolNodeCountsHeaders>> call(ServiceResponseWithHeaders<Page<PoolNodeCounts>, AccountListPoolNodeCountsHeaders> page) {
                      String nextPageLink = page.body().nextPageLink();
                      if (nextPageLink == null) {
                          return Observable.just(page);
                      }
                      AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions = null;
                      if (accountListPoolNodeCountsOptions != null) {
                          accountListPoolNodeCountsNextOptions = new AccountListPoolNodeCountsNextOptions();
                          accountListPoolNodeCountsNextOptions.withClientRequestId(accountListPoolNodeCountsOptions.clientRequestId());
                          accountListPoolNodeCountsNextOptions.withReturnClientRequestId(accountListPoolNodeCountsOptions.returnClientRequestId());
                          accountListPoolNodeCountsNextOptions.withOcpDate(accountListPoolNodeCountsOptions.ocpDate());
                      }
                      return Observable.just(page).concatWith(listPoolNodeCountsNextWithServiceResponseAsync(nextPageLink, accountListPoolNodeCountsNextOptions));
                  }
              });
      }
docs: Gets the number of nodes in each state, grouped by pool.
  
  @param accountListPoolNodeCountsOptions Additional parameters for the operation
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;PoolNodeCounts&gt; object