code: def to_ordional_enumeration(data: t.List[T]) -> t.Dict[T, int]:
      """Enumarate each unique item."""
      counter = 0
      enum = {}
      for it in data:
          if it not in enum:
              enum[it] = counter
              counter += 1
      return enum
  
label_desc: Use image node_id 1 for calling a global function with example usage: to_ordional_enumeration(data) and returns: enum