I am not quite sure whether I understand the exact question correctly. Do you want to show also the size of the folders (not only the files) or do you want to achieve another functionality? Could you provide more detailed information regarding the specific scenario you are seeking for?
Looking forward to hearing from you,
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.