protected static void setClearCountReference(LocalRegion rgn) {
    DiskRegion dr = rgn.getDiskRegion();
    if (dr != null) {
      dr.setClearCountReference();
    }
  }
methods to set/remove htree reference (Bug 40299).
geode-core/src/main/java/org/apache/geode/internal/cache/SearchLoadAndWriteProcessor.java