In this rule

Historical Rules · 1 May 2012

Rule 400.7c

Official source text from the 1 May 2012 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