tree_size/3

tree_size(+ Tree, - Size)*

Calculates the number of elements in the Tree.

All trees made by list_to_tree that are the same size have the same shape.