Allow using NL and NS to indicate number of lines/samples in clm