Get quantitly of Cut List Folders from Solid Folder

Me and a coworker have been searching and trying to write some code for this for the better parts of 6 hours now. What i am wanting to do is return the number of Cut List Folders that are in a Solid Body Folder. I have found bits and pieces of code on the internet but cannot seem to make them work. If anyone has anything or knows of something in the Solidworks API Help it would be grealty appreciated.

Thanks!

SolidworksApi macros