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