lr: accept a line count