This prints the file count per directory for the current directory level: du -a | cut -d/ -f2 | sort | uniq -c | sort -nr