Use Ruby Hashes to model folder metadata.
Fix incorrect (old) variable name.
Add folder content count to label, navigate to folder on click.
Update comment.
Only show files in the folder content count.
Change treeData to be explicitly declared.