every `x` ms, print out how many lines seen on stdin