If the target Elemental is an illegal target by the time Omnath's second ability tries to resolve, the ability doesn't resolve. You don't draw a card if you control eight or more lands. If the target is legal but can't have a +1/+1 counter put on it (most likely because an opponent controls Blightbeetle), you do draw a card if you control eight or more lands.

Artwork
Loading artwork…
Omnath, Locus of the Roil
Lorwyn Eclipsed Commander · #130 · EN
Nonfoil—Foil—
Card rules
When Omnath enters, it deals damage to any target equal to the number of Elementals you control.
Landfall — Whenever a land you control enters, put a +1/+1 counter on target Elemental you control. If you control eight or more lands, draw a card.
3/3
Mythic · Illustrated by Lius Lasahido
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander 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
You may choose Omnath as the target of its own second ability.
The number of Elementals you control is counted as Omnath's first ability resolves. If Omnath is still on the battlefield, it will count itself.