I know that this is an old question but...How about this?
string = "If Johnny.Appleseed!is:a*good&farmer"
a = ["*",":",".","!",",","&"," "]
new_string = ""
for i in string:
if i not in a:
new_string += i
else:
new_string = new_string + " "
print(len(new_string.split(" ")))