subCount method

int subCount()

Implementation

int subCount() {
  return sub?.length ?? 0;
}