Calculating customer bill