• Why I have the wrong result ?

Question related to mission Double Substring

 

Your result:4 abababaab Right result:3 Fail:double_substring("abababaab")

My result is 4 and I can count 4 "ab" in "abababaab" Why the right result is 3 ?