added headcount to the final table