• i don't understand how to count

Question related to mission Monkey Typing

 

def count_words(text, words):///

count=0///

for words in text:///

    count = count +1///

return count///

why doesn't this work?

also, why can't i use

count += 1?

..or am i using it wrong..