If you’ve followed the steps in our useFilter guide and find that the filters are not working as expected then check you have the - id: count-aggregate-filter step in your query pipeline

- id: count-aggregate-filter
  params:
    fields:
      bind: count
    filters:
      bind: countFilters
CODE

See our aggregate filters guide for further information