code: def __init__(self, name=None):
      self.name = name
      self.counter = 0
      self._namespace = defaultdict(int)
  
imports: from collections import defaultdict
  from collections.abc import Iterable
  from functools import singledispatch
  import pyro
  from pyro.poutine.handlers import _make_handler
  from pyro.poutine.reentrant_messenger import ReentrantMessenger
  from pyro.poutine.runtime import effectful
label_desc: Use image node_id 1 to create a new NameScope object  with example: obj = NameScope(name)