Using GetNumberOfFilesInFolder()
Contents of data.txt :
Number of files in 'folders/book' : 7
Number of files in 'folders/browser' : 2
Number of files in 'folders/Clips' : 4
Here you can see the contents of the folders:
folders/bookfolders/browserfolders/Clips