number of lines distinct from values in statistics