Intern — Middle
Function for counting the frequency of numbers in an array
livecode
Task condition
Given an array containing a large number of integer values. It is required to implement a function that returns the count of occurrences of each unique number in the array. For example, the function should take a list nums and return a structure where the key is the number, and the value is the number of its occurrences.