How to detect the numbers of used nodes in php web host?

It is very simple, only one sentence:

print system(“find . -printf \”%i\n\” | sort -u | wc -l”);