public static int distributedSystemCount() {
    synchronized (distributedSystemTimers) {
      return distributedSystemTimers.size();
    }
  }
Return the current number of DistributedSystems with timers
geode-core/src/main/java/org/apache/geode/internal/SystemTimer.java