Show how to calculate total.