via https://www.2daygeek.com/how-to-count-files-by-extension-in-linux/
find . -type f | sed -n 's/..*\.//p' | sort | uniq -c
This command will list all file extensions found in the current directory or subdirectories sorted by the count per extension.
via https://www.2daygeek.com/how-to-count-files-by-extension-in-linux/
find . -type f | sed -n 's/..*\.//p' | sort | uniq -c