len(set(["word1", "word1", "word2", "word3"])) # set is like a list but it removes duplicates # len counts the number of things inside the set