count-words calculates the occurrence of each word from stdin or file(s)