table2: added total number of elements on the top of table