code: def run(self):
      
      self.count += 1
      print('FailTwicePlug: Run number %s' % (self.count))
      if self.count < 3:
        raise RuntimeError('Fails a couple times')
  
      return True
docs: Increments counter and raises an exception for first two runs.