Adding size function, stored in an AVLTree.