Add file extension counter

Counts all the file in a directory by file extension