add missing counter_cache declaration