find . -printf "%h\n" | cut -d/ -f-2 | sort | uniq -c | sort -rn
. If you need to check the inode usage in a different or subfolder, you can change folders using this command: cd /folder-name
. To go back (up) a directory, use this command: cd ..
.