code: def total_errors(self):
          
  
          child_errors = sum(len(tree) for _, tree in iteritems(self._contents))
          return len(self.errors) + child_errors
docs: The total number of errors in the entire tree, including children.