Format 1: argsize()
Return the number of character strings specified by . The column names can be specified using wildcard. It is possible to count the number of items using wild card. An important point to note is that this function is only compatible with character string format.
Count the number of column names that start with "v".
$ more dat1.csv id,v1,v2,v3 1,1,2,3 2,-5,2,1 3,1,,3 4,,, $ mcal c='argsize($s{v*})' a=rsl i=dat1.csv o=rsl1.csv #END# kgcal a=rsl c=argsize($s{v*}) i=dat1.csv o=rsl1.csv $ more rsl1.csv id,v1,v2,v3,rsl 1,1,2,3,3 2,-5,2,1,3 3,1,,3,3 4,,,,3