public int getAttachCount() {
    return attachCount.get();
  }
Returns number of services currently using/attached to this pool.
<p>
Made public so it can be used by tests

@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/cache/client/internal/PoolImpl.java