Fix count caches not being invalidated
Merge pull request #99 from thatsmydoing/cachefix

Fix count caches not being invalidated