def nbr_of_nodes(self):
return self._nbr_of_nodes<EOL>
Return the number of nodes in the tree.

Warning:
    Nodes can be detached without the tree knowing it. As long as you only use the methods defined in a
    :class:`TreeMap`, this number reflects exactly the number of nodes in the tree.