Adds count to flag query results.
Fixes a little typo in class flags.
Merge pull request #1014 from learning-unlimited/class-flags

Adds count to flag query results.