Let '.count' work when tagged_with is accompanied by a group clause
Merge pull request #417 from okgrow/fix-group-by

Fix: Let '.count' work when tagged_with is accompanied by a group clause