public int numNonNullElements() {
    return numNonNullElements;
  }
Returns the size of not-null locations
@return the size of not-null locations
hbase-client/src/main/java/org/apache/hadoop/hbase/RegionLocations.java