private int numberProfiles(final CacheDistributionAdvisor advisor) {
    return advisor.adviseInitialImage(null).getReplicates().size();
  }
Entries should not expire during GII

<p>
TRAC #35214: hang during getInitialImage due to entry expiration

@since GemFire 5.0
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/EntriesDoNotExpireDuringGiiRegressionTest.java