wc prints several file statistics: bytes, lines, words, etc. Using the
-m option we can count the number of characters in a text file.
Open a terminal window and run:
wc -m FILE
We can count the number of characters from Vim editor using this
:!wc -m %