size method

int size()

Implementation

int size() {
  if (isEmpty()) {
    return 0;
  }
  build();
  return size2(root!);
}