filterWithCounters
counting filters