docs: def get_number_of_transitions(self):
          """
          Returns the numer of child states
          :return:
          """
          number_of_all_transitions = 0
          for s in self.states.values():
              number_of_all_transitions += s.get_number_of_transitions()
          return number_of_all_transitions + len(self.transitions)