public int getRegionsInTransitionCount() {
    return regionInTransition.size();
  }
Get the number of regions in transition.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStates.java