count_words("LOLOLOLOLOL",["lol","olo"])
The provided "Right answer" is 2. However, I can count 3 times "lol", and then zero times "olo".