How to get the value of the datatable when filtered?

Hi everyone, I want to get the value of the datable when filtered but it only shows up in the first row, making me not get the value. the row after the filter is 0, not 59.

You should look at this section of DataTable (it has code examples to demonstrate how filtering actions work): Sorting, Filtering, Selecting, and Paging Natively | Dash for Python Documentation | Plotly