rem: this._totalCount = extensionCount + themeCount; 
add: this._totalCount = em.getUpdateableItemList(gUpdateTypes, {}).length; 
context:   get totalCount()  {    if (!this._totalCount) {      this._totalCount = gUpdateWizard.items.length;      if (this._totalCount == 0) {        var em = Components.classes["@mozilla.org/extensions/manager;1"]                           .getService(Components.interfaces.nsIExtensionManager);        var extensionCount = em.getItemList(nsIUpdateItem.TYPE_EXTENSION, {}).length;        var themeCount = em.getItemList(nsIUpdateItem.TYPE_THEME, {}).length;        this._totalCount = extensionCount + themeCount;      }    }    return this._totalCount;  },  
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/db29be3ba2b65617850256629c212ca70b388946/update.js/buggy/toolkit/mozapps/extensions/content/update.js