I have the following data table:

I imported this data table into a JSL matrix
Data1 = Data Table( Current Data Table() ) << Get All Columns As Matrix;
This produced the following matrix named Data 1 :
[ 23 24 25 26,
22 23 . .,
23 22 . .]
I requested the number of columns in this matrix:
c = ncol(Data1);
This generated the following error message:
Cannot set value for the column 'C' because the row number (0) is not valid. in access or evaluation of 'Assign' , :c = /*###*/N Col( Data1 ) /*###*/
I would appreciate any help understanding the error message and/or how to get the number of columns in Data1.
Thank you.