The ability that defines Boneyard Wurm’s power and toughness works in all zones, not just the battlefield. If Boneyard Wurm is in your graveyard, it will count itself.

Artwork
Loading artwork…
Boneyard Wurm
Ultimate Masters · #159 · EN
Nonfoil—Foil—
Card rules
Boneyard Wurm's power and toughness are each equal to the number of creature cards in your graveyard.
*/*
The only thing it likes more than discovering a pit of bones is adding to it.
Uncommon · Illustrated by Jaime Jones
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions