Document statistics
The Document Statistics plugin shows you various statistics about your current document. To enable this plugin, select gedit ▸ Preferences ▸ Plugins ▸ Document Statistics.
Using Document Statistics
Once the plugin is enabled, use it by selecting Tools ▸ Document Statistics. A window will display the statistical information of your document, including the number of words, lines, characters, non-space characters, and the size of your file in bytes.
You can also use Document Statistics to show you information about just a portion of your document. To do this, use the mouse pointer to select the portion of text that you want to examine, and then select Tools ▸ Document Statistics. Gedit will display information for both your entire document, and for the portion of text that you highlighted.