Finding the cost per item