I need some assistance with looping. Specifically I would like to interrogate an array to list the values in it and number of occurrences of each one. Say my array was (0.980 0.982 0.971 0.976 0.977 0.976 0.976 0.975 0.969 0.968), I would like to get a list of the form:-
0.968 1
0.969 1...