words ['the','cat','sat','on','the','mat'counts {'the': ,'cat': ,'sat': ,'on': ,'mat': let' have serious worked example we might be given list of words and want to count the words by how many times they appear in the list