結果 : count distinct elements in list python