Better tick counting example