added a character count to the groups
add the thead and tbody to proper coloring