結果 : count elements in a string python