PHP Inode Function for finding and returning inode counts on directories