Fix #4

Thanks for the PR, but isn't `Object.keys(this.mc.handlers).length` simpler here?