python count different values in list code example Example: count different values in list python len(set(your_list))