@Override
  public long getEntries() {
    return trailer.getEntryCount();
  }
Returns number of KV entries in this HFile
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.java