Bug 842149: count idle observers to handle the case where observers de-register themselves while idle r=jlebar