What this problem teaches: Choose the right data structure. With lists, you'd need loops and conditionals to check for duplicates. With sets, it's one line.
Conversion is useful. set(list) instantly removes duplicates. No algorithms needed.
Know your tools. The more data structures you know, the more problems become trivial. Many "counting unique" problems reduce to this pattern: convert to set, get length. Watch for this in future problems.