columnCount now uses the correct column data type