add total_row; fix inactive cases for groups; add __len__ to datatables classes