Implement counter_caches for haves and wants