In this rule

Historical Rules · 28 April 2017

Rule 400.7c

Official source text from the 28 April 2017 Rules release

If an ability of a permanent requires information about choices made as that permanent was cast as a spell, including what mana was spent to cast that spell, it uses information about the spell that became that permanent as it resolved.

Find this number in the current Rules