You can use the function .tickValues()to set tick values explicitly. If called without arguments, it returns the current values of the checkmark - this will allow you to check how many there are and add / remove / recount as necessary.
source
share