Get total cost for typeByType strategy