Accept range for linecount