結果 : count substrings in a string python