結果 : occurrence of character in string in python