Automate your first grade counting exercise
Perl 6, 119 113 bytes



{my \n=&lt;① ⑳ ㉑ ㉟ ㊱ ㊿&gt;.map:{|map *.uniname.words[2..*].join,$^a..$^b}
/\d/??n[^$_]!!1..1+first $_,n,:k}


Unicode database FTW!

Uses upper-case written-out numbers without hypen, e.g. TWENTYTWO.
Returns a list of strings, or a range of numbers. (Both use space as separator when printed with put.)