Add counter caching.
counter caching: Add more conventional syntax: belongs_to :association, :counter_cache => true
Merge pull request #586 from smtlaissezfaire/counter_cache

Counter cache