In this rule

Historical Rules · 17 June 2011

Rule 400.7c

Official source text from the 17 June 2011 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