Number Count Trigger on Click

Hey All
I have numbers within an accordion and want to trigger the Number Count script when that accordion opens.

I tried
window.fsAttributes.numbercount.init();

which is a solution that has worked for other attributes to programmatically trigger them but I get an error

> "Uncaught TypeError: window.fsAttributes.numbercount.init is not a function"

Is there another snippet that I need to trigger them?

Thanks

Hey @bill! Try adding this before the init line window.fsAttributes = window.fsAttributes || [];

If this does not fix the issue please share a link or your code so I can help debug :wink: