How to find total folder depth count

How to find total folder depth count ?

Can you explain if you’re looking for child folder count, or recursive count including all sub- and sub-sub folders?