calculateDirectoryDepth working