結果 : python function count characters in string