|The computer does the 'reading' and 'checking' and 'counting'. All you have to know what delimits (separates) the words and are there special conditions that may surround the words (quotation marks, bol, eof, bof, eof markers). Words can be either numeric, alphabetic, or a combination of those. If you have millions of items then be prepared for possibly millions of pages of output. Maybe you really are only interested in a subset of the items.|
I once did a program to count the occurences of words in a book.