code: def set_value(self, value):
          
          check_call(_LIB.MXProfileSetCounter(self.handle, int(value)))
docs: Set counter value.
  
          Parameters
          ----------
          value : int
              Value for the counter