Fix missing options.fail if options.count given.

If `options.count` is given or `options == {}`, `options.fail` becomes undefined, although it still behaves correctly (throwing an exception). This commit is to prevent a future mistake if other options become default.