code: public static Value flinecount(Value fval)
  	{
  		ValueList result = new ValueList();
  
  		try
  		{
  			File file = getFile(fval);
  			long count = getLineCount(file);
  
  			result.add(new BooleanValue(true));
  			result.add(new IntegerValue(count));
  		} catch (Exception e)
  		{
  			lastError = e.toString();
  			result = new ValueList();
  			result.add(new BooleanValue(false));
  			result.add(new NilValue());
  		}
  
  		return new TupleValue(result);
  	}
docs: Gets the line count of the CSV file
  
  @param fval
  name of the file
  @return int value with count