Pergunta de entrevista da empresa NCube

You received a list of words, using the proper data structure count how many times these words are repeated, (using java 8).