Given an array of integers nums, return how many distinct values appear more than once.
Count Repeated Values (Set 6) — the data. This set runs 4 cases: nums holds arrays of 26–43 items, with values from 1 to 6. The hidden cases are the largest of the set.