size method

int size()

Implementation

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