Refactored all_tag_counts to avoid scope if it already knows the id.
Went back to sub selects
Merge pull request #359 from zquestz/master

Refactored to go back to sub selects