NCOLUMNS

NCOLUMNS(x) gives the number of columns of x.