X is the number of artifact and/or creature cards in an opponent's graveyard as you cast this spell.
Distribute X +1/+1 counters among any number of target creatures.
X is set as you cast the spell to be exactly the number of appropriate cards in an opponent’s graveyard. You can’t choose a higher or lower value for X.