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