Given an array of integers arr, return true if the number of occurrences of each value in the array is unique or false otherwise.