In my AVL tree (Self Balancing Tree) I saved for each node an extra information: The number of nodes for the sub_tree where the current node is its root (including the root