In this rule

Historical Rules · 1 September 2023

Rule 702.87a

Official source text from the 1 September 2023 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