public final int getNumRootEntries() {
      return rootChunk.getNumEntries();
    }
Returns how many block index entries there are in the root level
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java