結果 : character count function python