Add the ticket number and total count to each ticket.