Help for this page
sort -k1n -k2n -k3n -k4n -k5n < inputfilename | uniq -c > outputfilename
2 1 1 1 1 1 1 1 2 1 1 8 1 1 6 5 12 12