結果 : count instances of a character in a string python