PR_AtomicIncrement(&g_InstanceCount);
nsXPCOMDetector::nsXPCOMDetector(PRUint8 aItems, nsVerifier **aVer)   : nsPSMDetector( aItems, aVer){  NS_INIT_REFCNT();  PR_AtomicIncrement(&g_InstanceCount);  mObserver = nsnull;}