I need to make a program where I save a txt file, then open it and read it. So far so good. But I do not know how to show how many times each word of the open text appears.
Ex: The text appears the word mil 5 times, the word house 7 times and so on. How do I read what's inside the text, without having to create a list for it?