class_docstr: Profiling Counter class.
  
  The counter event can track a value as it changes over time.
  
  Parameters
  ----------
  domain : Domain object
      Domain to which this object belongs
  name : string
      Name of the counter
  value: integer, optional
      Initial value of the counter
code: def __str__(self):
      return self.name
  
imports: import ctypes
  import contextlib
  import contextvars
  import warnings
  from .base import _LIB, check_call, c_str, ProfileHandle, c_str_array, py_str, KVStoreHandle
label_desc: Use image node_id 8 for calling the Counter obj's underlying member method code with example usage: obj.__str__() and returns: self