<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_value(self, value):
 """Set counter value. Parameters value : int Value for the counter """

        check_call(_LIB.MXProfileSetCounter(self.handle, int(value)))