A fairly common set of command line tools (at least for me) is to combine sort and uniq to get a count of unique items in a list of unsorted data. Something like this:
$ find . -type 'f' | rev | cut -d "." -f "1" | rev | sort | uniq -c | sort -nr | head
2649 htm
1458 png
993 cache
612 jpg
135 css
102 zip
99 svg
60 gif
45 js
27 pdf