Im having a file lenght 600 bytes(whereas first 3 bytes is number...40 to 56 is name field) ...I want a output file with heading and count
Input
123 abc
123 abc
123 abc
234 edf
234 edf
345 brc
345 brc
Required output
Num name count
123 abc 3
234 edf 2
345 brc 2