Bug 1104062 - only update counts once per resultset on changes
Merge pull request #299 from mozilla/optimize-resetcounts

Bug 1104062 - only update counts once per resultset on changes