結果 : count character occurrences in a string python