The Wordstat as a complex text analysis application allows you to count how much times some words encounter in the text.
You can take your text from every simple text file (it usually has .TXT extension) or from the hypertext file (it is usually in HTM or HTML format).
There are such charsets as win1251, KOI-8r, cp866 (dos) allowed. The application recognizes these charsets automatically.