How to remove sidebar filter counts within the Craft theme?

Topic summary

A user sought to hide product filter counts displayed in parentheses next to sidebar filter options in the Craft theme.

Solution Found:
After independent troubleshooting, the user identified the relevant code:

  • Navigate to: Craft theme → Edit Code → Snippets → facets.liquid
  • Locate line 209
  • Remove the highlighted code section (shown in attached screenshot)

The issue is resolved through this code modification. The solution involves editing Liquid template files directly, requiring basic familiarity with theme code structure.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

I am unable to find the code associated with the product filter counts within the sidebar filter options. Does anyone know how to hide these counts on the Craft theme?

Not yet. Still searching for a solution.

Through a lot of searching and trial & error, I have found a solution. Within the Craft theme > Edit Code > Snippets > facets.liquid > Go to line 209 > Remove the highlighted selection: