I really need this but couldn't figure out how to do it.
Let's say I open a file in a new buffer which has 200 line of code.
Now I'm in the beginning of my file in line 1. And Mode line showing All(1,0).
Which indicating the current line and column number. Now beside this I want to see my total line number in this file which is 200.
I know there's Another alternative, to press Alt + SHIFT + > keys and that will make emacs jump to the last line of the document or file.
But that's sufferable, each time entering a newline gives total number of line increase.
That's pretty much annoying because after going to the end of file i lost my position where i was. And making my way through back takes a lot of time.
So, it'll be a life saver for me if anyone can help me here
Here is an example of my neovim mode line, what i'm trying to do in my emacs mode too.


(line-number-at-pos (point-max))each time the mode-line gets updated: https://emacs.stackexchange.com/q/3821/2287 , but there is a workaround that has some edge cases ... Perhaps other forum participants have a better idea ... – lawlist Sep 04 '22 at 05:26