<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run(self):
 """Increments counter and raises an exception for first two runs."""

    self.count += 1
    print('FailTwicePlug: Run number %s' % (self.count))
    if self.count < 3:
      raise RuntimeError('Fails a couple times')

    return True