code: def count(self):
          
          total = len(self.children)
          for child in self.children:
              total += child.count()
          return total
docs: count: get number of nodes in tree
              Args: None
              Returns: int