Issue 19804: Fixed a misspelling with averageCost