Bash/Shell script to count inode usage