2. Implement the following function for a linear list, which find outs and returns the number of unique elements in the list