In this rule

Historical Rules · 13 July 2013

Rule 400.7c

Official source text from the 13 July 2013 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