If the card has X in its mana cost, you must choose 0 as the value of X when casting it for another cost that doesn't include X. For example, if there are five time counters on As Foretold and you choose to use its effect to cast Pull from Tomorrow, X must be 0. X can't be 2, even though the spell's mana value would be 4.