Example 1
countDistinctValues()Input
nums = [6, 7, 5, 1, 8, 4, 7, 8, 2, 2, 8, 5, 5, 3, 4, 4, 3, 3, 7, 8, 6, 3, 4, 5, 3, 5, 4, 3, 2, 2, 2, 6, 8, 6, 5, 8, 5, 1, 8, 3, 5, 1, 4, 4, 5, 1, 5, 2]Output
8Why
`countDistinctValues` returns `8` for this input.