correctly count number of dots in line series