<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def disable_by_count(self):
 """ Disable the profiler if the number of disable requests matches the number of enable requests. """

        if self.enable_count > 0:
            self.enable_count -= 1
            if self.enable_count == 0:
                self.disable()