Barclays Interview Question

Select all unique words in a list and their count.