Return the repeated numbers and a count of them for an input array.
Implement repeated_numbers(nums). Return a dictionary with repeated, a list of distinct values appearing at least twice in their order of first repeated occurrence, and count, the number of values in that list.
{"repeated": list, "count": int}.def repeated_numbers(nums):