public int getRootBlockCount() {
      return rootCount;
    }
Returns the number of root-level blocks in this block index
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java