add total cost to stats