You can always use CTRL-G in vi compatible editors, as it
usually shows what line you're on, plus how many lines are
in the file. ':set number' sure is a useful trick, though.
I'd have to agree with most, though, in that 'wc -l' is
probably the best way to measure.