Add support for counter_cache option in belongs_to associations