Count Word Occurrences in Linux File

How to Count Word Occurrences in a Text File

Graphical User Interface word processors and note-taking applications have information or detail indicators for document details such as the count of pages, words, and characters,