The value of X is calculated only once, as Thickest in the Thicket's first ability resolves.

Artwork
Loading artwork…
Thickest in the Thicket
Foundations Commander · #236 · EN
Nonfoil—Foil—
Card rules
When this enchantment enters, put X +1/+1 counters on target creature, where X is that creature's power.
At the beginning of your end step, draw two cards if you control the creature with the greatest power or tied for the greatest power.
No pain, no fame.
Rare · Illustrated by Michele Giorgi
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Thickest in the Thicket's last ability will trigger at the beginning of your end step regardless of who controls the creature with the greatest power. As long as you control the creature with the greatest power or tied for the greatest power when the ability resolves, you'll draw two cards.