I'm having trouble transforming every word of a string in a dictionary and passing how many times the word appears as the value. For example
string = 'How many times times appeared in this many times'
The dict i wanted is:
dict = {'times':3, 'many':2, 'how':1 ...}