Okay let me get it straight. He has a drive with a couple of folders, of which one is the folder containing his CDs. That folder has many subfolders by artist, and each artist has their albums.
This last folder may or may not be subdivided depending on whether there is one or more CDs to the album (In some cases there are over 20 CDs to any given album). In some cases this last level may be broken down even further.
Does the tool need to count these subdivisions as well?
Root
|---CDs
|---Artist
|---Album1
|---CD1
|---SubCD1
|---SubCD2
|---CD2
|---CD3
|---Album2
|---CD1
|---Other stuff
So in this example, would he like to have CD1, CD2 and CD3 included in the count? And what about SubCD1, SubCD2? And the Album1, Album2 folders should not be counted if they have subfolders?
Another question: is a count all he wants for output?
I can write up something if I know that ;)