added counts todo in table footer