fix the initial count in the lines example