The value of X for Geode Grotto's last ability is determined only as it resolves. Once that happens, the value of X won't change later in the turn even if the number of artifacts you control changes.

Artwork
Loading artwork…
Dowsing Device // Geode Grotto
The Lost Caverns of Ixalan · #146 · EN
Nonfoil—Foil—
Card rules
Dowsing Device
1Artifact
Whenever this artifact or another artifact you control enters, up to one target creature you control gets +1/+0 and gains haste until end of turn. Then transform this artifact if you control four or more artifacts.
"A little innovation can lead to a big score." —Admiral Beckett Brass
Geode Grotto
Land — Cave
(Transforms from Dowsing Device.)
: Add
.
2
,
: Until end of turn, target creature gains haste and gets +X/+0, where X is the number of artifacts you control. Activate only as a sorcery.
Uncommon · Illustrated by Olena Richards
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions