Stone Haven Pilgrim gets +1/+1 just once, no matter how many artifacts and enchantments you control. It doesn’t get +2/+2 if you control an artifact and an enchantment.

Artwork
Loading artwork…
Stone Haven Pilgrim
The List · #JMP-6 · EN
Nonfoil—Foil—
Card rules
Whenever this creature attacks, if you control an artifact or enchantment, this creature gets +1/+1 and gains lifelink until end of turn.
2/2
The persistence to overcome obstacles is the most esteemed of kor virtues.
Uncommon · Illustrated by Cristi Balanescu
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Oathbreaker Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future 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
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If you don’t control an artifact or enchantment immediately after Stone Haven Pilgrim attacks, its ability doesn’t trigger. If you don’t control one as the ability resolves, it doesn’t get +1/+1 or gain lifelink. It doesn’t have to be the same artifact or enchantment both times, however.