結果 : python function to count letters in a string