結果 : python function to count number of characters in a string