Switch to EventEmitter#listeners().length for backward compatibility.

Fixes #97
1.3.2