Adding filter based upon count of overall terms.
Changing accept function for FilterInterface to have extra argument, for passing in all terms.