add listenerCount to Emitter

The `:listenerCount` method is needed in the stream interface. `node.js` had it implemented as `EventEmitter.listenerCount(emitter, name)` but it doesn't seem to make a difference in lua.