better distinct filters, with counting now