Write a C++ program to count the numbers in array 3, 1, 4, 6, 3, 9, 5, 0, 6, 9, 2, 8, 2, 9, 5, 8, 6, 8, 9, 2  and the sort the counts descending. Please just use standard library  Please answer in JSON format.
user