Improve tick-count setting API.

Now, ticks(count) sets the number of ticks and returns the
calling QuantitiveScale, instead of setting the number of ticks
and returning that many ticks.

API breaking change.

Close #1057.
Same as above