python_ref_string_count_1.py:
x
 
txt = "I love apples, apple are my favorite fruit"
x = txt.count("apple")
print(x)