Add the following code to the generated hooks/footer-extras.php file:

<script>
 $j(function() {
 setInterval(function() {
 $j('.children-tabs tfoot td').each(function() {
 var txt = $j(this).text().trim();
 // The line below assumes your app is in English language .. modify if it's in a different lang.
 var pattern = /Records [0-9]+ to [0-9]+ of ([0-9]+)/g;
 var match, recs;
 match = pattern.exec(txt);
 recs = (match !== null ? match[1] : 0);
 var id = '#' + $j(this).parents('.tab-pane').attr('id').replace(/^panel/, 'tab');

 if(!$j(id + ' .badge').length) {
 $j('<span class="badge hspacer-md"></span>').appendTo(id);
 }
 $j(id + ' .badge').html(recs);
 })
 }, 1000);
 })
</script>