Gets the number of columns in a table
The Cols function returns the number of columns in a table..
Cols (table)
x=[1..4;12..15]= 1 2 3 4 12 13 14 15 Cols(x)= 4
Cols(x)= 4