count the elements in the filter