結果 : count characters using dictionary python