Summary statistics of file types in a directory. Tiny shell script