Use EventEmitter.listenerCount when possible