If you are using a hosting control panel like cPanel then it can show your total inode usage in its statistics bar but If you need to count total Inode usage by SSH command then you need to follow these instructions:
You need to go to that specific directory to check its total number of inode then use following command:
# find . | wc -l
To get complete inode folder wise usage details then type:
# find . -printf “%h\n” | cut -d/ -f-2 | sort | uniq -c | sort -rn
To get complete inode folder wise usage details with grand total then type:
# echo “Detailed Inode usage for: $(pwd)” ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf “$c\t\t- $d\n” ; done ; printf “Total: \t\t$(find $(pwd) | wc -l)\n”