what a miserable hack!!
and what happens if the text of the LI is more than a few letters long? like, say, a sentence which is too long to fit on one line?
i fear the simplest solution is just to hard-code the actual numbers
<h1>Top Ten Signs You're Not Going To Win An Olympic Gold Medal</h1>
<p>10. You're allergic to snow </p>
<p>9. Fired a gun during your event but it's not the biathlon </p>
<p>8. Your neck is too fat to hang a medal on </p>
<p>7. You get winded saying "slalom" </p>
<p>6. Nobody can find any record of your home nation "Funkytown" </p>
<p>5. Only experience skating on ice is in your marriage (you fellas know what I'm talking about) </p>
<p>4. You're having a hard time putting your pants on over your skis </p>
<p>3. Skipped practice to see "Valentine's Day" -- The Philadelphia Inquirer calls it an all-star candy sampler; buy your tickets today! </p>
<p>2. Southwest Airlines kicked you off a flight to Vancouver because you're too fat </p>
<p>1. Ass hasn't been off the couch since the '06 Winter Games</p>