code: def add_subsegment(self, subsegment):
          
          super(Subsegment, self).add_subsegment(subsegment)
          self.parent_segment.increment()
docs: Add input subsegment as a child subsegment and increment
          reference counter and total subsegments counter of the
          parent segment.