calcTotalBilling returned wrong value when heacount is larger than 1