code: def increment_key(key):
      
      pipe = REDIS_SERVER.pipeline()
      pipe.incr(key, 1)
      if config.COOLOFF_TIME:
          pipe.expire(key, config.COOLOFF_TIME)
      new_value = pipe.execute()[0]
      return new_value
docs: given a key increment the value