I have a file with more than 1 million records.. Each row has a distance number.. I want to know how many times is each number occurring from min to max number..
2
5
120
208
7
28
45
6
33
120
7
208
so onn..
output
0-0
1-0
2-1
3-0
4-0
5-1
6-1
7-2
so on 208-2