In this rule

Historical Rules · 7 October 2022

Rule 702.87a

Official source text from the 7 October 2022 Rules release

Level up is an activated ability. “Level up [cost]” means “[Cost]: Put a level counter on this permanent. Activate only as a sorcery.”

Find this number in the current Rules