Does anybody of a GUI FOSS text-editor which shows number of words by default in a document. If not the one in which having such a preference is the easiest. I am looking for a text-editor which counts words in real-time if possible.
It sounds like you are looking for something like
Atom (https://atom.io/), which has a
wordcount package (https://atom.io/packages/wordcount) that adds word and character counts to the status bar. Their web site has source and
Atom is MIT licensed.
To add the
wordcount package to
Edit Menu ->
Packages, and search for
wordcount. Click on its
Install button, and as soon it's installed your word/character counts will show at the bottom right of each edit buffer.