I am able to list all the directories by
find ./ -type d
I attempted to list the contents of each directory and count the number of files i
Easy way to recursively find files of a given type. In this case, .jpg files for all folders in current directory:
find . -name *.jpg -print | wc -l