code: public final int getLiveSegmentCount() {
          int num = 0;
  
          for (int i = 0; i < _segList.size(); i++) {
              if (_segList.get(i) != null)
                  num++;
          }
  
          return num;
      }
docs: Gets the count of live segments managed by this SegmentManager.