If Iridescent Hornbeetle leaves the battlefield before your end step, its ability won’t trigger at all. You won’t create any tokens.

Artwork
Loading artwork…
Iridescent Hornbeetle
Jumpstart 2022 · #678 · EN
Nonfoil—Foil—
Card rules
At the beginning of your end step, create a 1/1 green Insect creature token for each +1/+1 counter you've put on creatures under your control this turn.
3/4
The hatchlings will fill the jungles of Murasa in a glittering tide.
Uncommon · Illustrated by Simon Dominic
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If a creature enters the battlefield under your control with +1/+1 counters on it, Iridescent Hornbeetle’s ability counts those counters.
Iridescent Hornbeetle’s ability counts the number of +1/+1 counters you’ve put on your creatures, even if that happened before Iridescent Hornbeetle was on the battlefield, and even if those creatures are no longer on the battlefield or under your control (and, in some rare cases, even if those creatures aren’t creatures anymore).