count unique lines