The copies that replicate creates are created on the stack, so they're not “cast.” Abilities that trigger when a player casts a spell won't trigger.

Artwork
Loading artwork…
Lose Focus
Modern Horizons 2 · #49 · EN
Nonfoil—Foil—
Card rules
Replicate
(When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.)
Counter target spell unless its controller pays 2.
The spell wavered, caught on the tip of his tongue and at the edge of his awareness.
Common · Illustrated by Martina Fačková
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School 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
As the replicate triggered ability resolves, you'll copy Lose Focus for each time you paid its replicate cost, even if the original spell is no longer on the stack at that time (perhaps because it was countered).