Emacs Line Count

What Lines?

Emacs has a simple in-built line count, that's bound to C-x l (that's a lower case 'L').

It displays total number of lines and your current line position.

Ctrl-x l

Runs the function (count-lines-page). If you've bound C-x l to another function, you can still call it using:

M-x count-lines-page