in reply to TMTOWTDI Puzzle: Generating a range of numbers

Another combination of some of the ideas already presented...
perl -e 'print(length(O)..length(O).length())'