If the ability to add counters resolves when there are already the maximum number of counters on it, any counters over the maximum are simply not added.

Artwork
Loading artwork…
Clockwork Swarm
Homelands · #104 · EN
Nonfoil—Foil—
Card rules
This creature enters with four +1/+0 counters on it.
This creature can't be blocked by Walls.
At end of combat, if this creature attacked or blocked this combat, remove a +1/+0 counter from it.
X,
: Put up to X +1/+0 counters on this creature. This ability can't cause the total number of +1/+0 counters on this creature to be greater than four. Activate only during your upkeep.
0/3
Common · Illustrated by Amy Weber
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
PreDH Legal
Premodern 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
Pioneer 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
Can attack or block even if it has no counters.
Loses a counter even if it is affected by a Fog-like effect which prevents it from dealing damage.