Getting all extensions for a directory: easy. Getting file counts for a particular extension: easy.
But getting all file extensions and their respective file counts is alluding me.
should return something like:
The aim of this exercise is that I want to find out which file extension is popular in a certain directory.
Thanks in advance