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
This will give the overall count.
for file in */; do echo "$file -> $(ls $file | wc -l)"; done | cut -d ' ' -f 3| py --ji -l 'numpy.sum(l)'