code: function updateProgress(inc) {
      progressCount += (inc || 1);
      if (progressCount >= progressTotalCount) {
          // done, complete progress bar and hide loading screen
          $('#progress').css('width', '100%');
          $('#loading').slideUp(600);
      } else {
          // Update progress bar
          $('#progress').css('width', parseInt(100 * progressCount / progressTotalCount) + '%');
      }
  }
docs: total count