save event count to redis