In this rule

Historical Rules · 7 October 2022

Rule 701.5b

Official source text from the 7 October 2022 Rules release

The player who cast a countered spell or activated a countered ability doesn’t get a “refund” of any costs that were paid.

Find this number in the current Rules