One concern I would have is that multiple of these firing at the same time, and clobbering the results. It might be better to use multiple keys, and increment numbers independently, in order to make sure things stay atomic.