Cost calculator for the number of goods (services)