class_docstr: ``NameCountMessenger`` is the implementation of :func:`pyro.contrib.autoname.name_count`
class_docstr_tok: ["``","NameCountMessenger","``","is","the","implementation","of",":","func",":","`","pyro.contrib.autoname.name_count","`"]
code: def _pyro_post_scope(self, msg):
      self._names.add((msg["args"][0], "scope"))
  
imports: import functools
  from pyro.poutine.messenger import Messenger
  from pyro.poutine.runtime import effectful
label_desc: Use image node_id 5 for calling the NameCountMessenger obj's underlying member method code with example usage: obj._pyro_post_scope(msg) without return types