Add `listenerCount` method