class_docstr: SumoTLLogic holds the data relative to a traffic light in sumo.
class_docstr_tok: ["SumoTLLogic","holds","the","data","relative","to","a","traffic","light","in","sumo","."]
docstr: Returns number of internal signals of the traffic light.
docstr_tok: ["Returns","number","of","internal","signals","of","the","traffic","light","."]
code: def get_number_signals(self):
      """
      Returns number of internal signals of the traffic light.
      """
      if len(self.states) > 0:
          return len(self.states[0])
      return 0
  
imports: import collections
  import enum
  import logging
  import os
  import carla
  import sumolib
  import traci
  from .constants import INVALID_ACTOR_ID
  import lxml.etree
label_desc: Use image node_id 2 for calling the SumoTLLogic obj's underlying member method code with example usage: obj.get_number_signals() and returns: int, len