size method

int size()

Implementation

int size() {
  return nodes!.length;
}