Added some code to count total files for each platform