"abcdabcva".count("ab")
# credit to Stack Overflow user in source link sentence.lower().split().count(word)