Publish filtering count

Fixes #2129