結果 : how to count characters in a string python