I made a suggestion yesterday (on a Facebook page) that a function be added to count the number of directories in a directory tree. However, I had forgotten that @Files counts both files and directories, and that even includes the dot and double dot directory entries. So the question is: Is there any known way of getting the number of actual files in a directory tree as well as, separately, the number of directories (excluding the dots and double dots) in a directory tree? (I can write a C++ program if I have to, but I'd really prefer not to have to.)