code: def count(fn):
      @functools.wraps(fn)
      def wrapper(*args, **kwargs):
          if fn.__qualname__ not in simple_call_counter:
              simple_call_counter[fn.__qualname__] = 0
          simple_call_counter[fn.__qualname__] = (
              simple_call_counter[fn.__qualname__] + 1
          )
          return fn(*args, **kwargs)
  
      return wrapper
  
imports: import collections
  import functools
  from typing import OrderedDict
label_desc: Use image node_id 2 for calling a global function with example usage: count(fn) and returns: wrapper, fn