Add totals for the total columns