in reply to Display Line Numbers
perl -ne 'printf "%4d $_", $.' [download]
For counting words, characters and lines there's also a standard tool called wc.