結果 : python count occurrences of pattern in string