add counter_cache to message