perl -nle '$c{$_}++ for split/\s/;}print map {"$_:$c{$_}\n"} sort{$c{$b}<=>$c{$a}}keys %c;{' file_of_WHATEVER_to_count.txt