Is the total number of records found by the Data Table component available in Page Data or the Data Table object itself?
Unfortunately, there is no “one action” way to get this information. But you could use an “On Record Request” handler with logic that repeats the same as the table does, and get the needed records count.
Below I provide an example that must helps you
Regards, Dima.