Fix: Update how the number of hidden elements are calculated to use the attribute value from DataTables rather than calculating the value with jQuery