Is there a simple way to count the total number of pdf files in a folder that contains a number of other folders among which some contain multiple level subfolders and others just pdf files?
This answer provides a very good solution to count number of files in each folder on the first subfolder level but not further down to individual pdf files.