determining the depth of directories



Suppose I do:

for file in $(( find . -type d ))
do

What can I do at this point to determine the depth of each directory
that I encounter?

For example, suppose one result of the find is:

./openwin/lib/X11/fonts

How can I determine that the depth is 4?

Thanks for any help.
.