code: def duration(self):
      total_duration = self._duration
      for child in self.children:
          total_duration += child.duration
      return total_duration
  
imports: import queue
label_desc: Use image node_id 21 for calling the StatNode obj's underlying member method code with example usage: obj.duration() and returns: total_duration