script to count the number of files in each subfolders and display the sub-directories in descending order