Table data filtering

I have a question.

I am in perspective with my component of the table, I create a diunamic filter, so that it is filtered by columns, what happens is that I have another label where I want to obtain the total of the data in the table, before I had it this way.

len({.../flex_tabla/tbl_listado.props.data})

But that remains static, I found another way that is to activate in the filter property, the results, and it creates me another dataset, with the filtered data, the problem is that if I have a table with 2000 data, and I look for example all that I can find with the letter a, I would be with a dataset of 2000 data plus one similar loading in results. which is a very big load for the page, is there another way to obtain that amount of filtered data, without having to activate the results?