Added support for d3 QuantitiveScale.nice argument: count

See [the documentation](https://github.com/mbostock/d3/wiki/Quantitative-Scales#wiki-linear_nice) for details.

Tested in my codebase and works well.