DATATABLE data-table-selected-count

This data-table class “data-table-selected-count” will set the html element with class data-table-selected-count to the count of selected, but, when moves to next page, it loses the count.

So i guess i have to do this by my own? Or is there anything I’m missing?