find . -type f -print|awk '{print match($0,/\.[^/]*$/)?substr($0,RSTART,RLENGTH):"No Ext"}'|sort|uniq -c
12 .env 7 .gif 2 .htm 26 .html 8 .inf 2 .ini