add listenerCount to Emitter class