The size of the bonus is determined only as Tromp the Domains resolves. Once that happens, the bonus won't change later in the turn even if the number of basic land types among lands you control changes.

Artwork
Loading artwork…
Tromp the Domains
Time Spiral Remastered · #242 · EN
Nonfoil—Foil—
Card rules
Domain — Until end of turn, creatures you control gain trample and get +1/+1 for each basic land type among lands you control.
Ground into the footprints of the ravaging herd were clumps of salt from Benalia, moss from Llanowar, dust from Hurloon, and ash from as far as Urborg.
Uncommon · Illustrated by Mike Dringenberg
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer 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
Tromp the Domains affects only creatures you control at the time it resolves. Creatures you begin to control later in the turn won't gain trample or get a power and toughness boost.
Domain abilities count the number of basic land types among lands you control, not how many lands you control or how many of any type.
The basic land types are Plains, Island, Swamp, Mountain, and Forest. Land types other than basic land types (such as Desert) don't contribute to domain abilities.