size method

dynamic size()

Implementation

size() {
  return this.nodes.length;
}