protected int determineNumAttributes(double[] values,int num) throws Exception {
  int result;
  int count;
  result=num;
  count=values.length;
  if (count > result)   result=count;
  return result;
}

protected int determineNumAttributes ( double [ ] values , int num ) throws Exception { int result ; int count ; result = num ; count = values . length ; if ( count > result ) result = count ; return result ; }
determines the number of attributes , if the number of attributes in the given row is greater than the current amount then this number will be returned , otherwise the current number .
