Estimating the cost of shopping