Support for association fields in counter_cache.