Adds count to 'filtered by' text and updates 'clear filters' script.

They're not part of a class, though. They're top-level.