write a word-counting program that counts the number of times each word occurs in the input from the keyboard. also output the words and how often each word appears. //keep reading words from the keyboard, until get eof (press enter and then ctrl-d for mac, unix/linux or ctrl-z for windows)