While reading through the Solaris df_ufs(1m) manual page today, I came across the “-o” option:
$ df -F ufs -o i
Filesystem iused ifree %iused Mounted on
/dev/md/dsk/d0 481649 13399951 3% /
This will print the total number of inodes along with the number of inodes that are currently in use. Nifty!