Why doesn't my code work? [solved]

can anyone tell me why this doesn’t work?

def count_multi_char_x(word,x):
count= 0
chunk = word.split(x)
if chunk == x:
count += 1
return count

Why would it work? What exact actions do you mean that should take? If you print out each thing it does, is that what ends up happening? If not, then you’ve answered your own question by showing yourself where it differed from what you expected. Or, if you haven’t thought it through in full, then it definitely shouldn’t work because nobody decided what should happen.

…very helpful, thanks.