revert an earlier commit regarding irods stat

the counting of the subdirectories