make sure thers only one occurence of each in list python code example Example: count values in list usiing counter from collections import Counter