Count the number of blinks.