Googled that a while back when implementing the reset_counter in counter_cache and found nothing. This is also what they did in the rails counter cache. But I should probably make that a utility.