Formula search filters

Hello,

I can’t find the right formula to display the number of results for my search.
I’m attaching 2 screenshots. The first is the variable that displays my list of companies, the second is my formula that doesn’t work.
I can’t transform the variable in my formula into a number.

How can I do this?

Thanks in advance


2