count item price and total price