The bonus is not applied until after you check for attack legality, so it is a 2/3 creature when declaring attackers.

Artwork
Loading artwork…
Aurochs
Coldsnap Theme Decks · #225 · EN
Nonfoil—Foil—
Card rules
Trample
Whenever this creature attacks, it gets +1/+0 until end of turn for each other attacking Aurochs.
2/3
One aurochs may feed a village, but a herd will flatten it.
Common · Illustrated by Ken Meyer, Jr.
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
The ability counts the number of attacking creatures with the creature type Aurochs, not just those named Aurochs.