suniq - a faster sort | uniq -c | sort -n[r]

via https://github.com/chernjie/suniq.git
newline here