add getTotal() to class Sale