Counting the cost of inquiries