Calculate the size of vector (number of elements in a vector) .
An example is shown in Table 3.38 - 3.38.
Table 3.38: Input data  in.csv  | 
||||||||||
 no items  1 a b c  2 a d  3 b f e f  4  | 
no  | 
    
    items  | 
    
    size  | 
1  | 
    
    a b c  | 
    
    3  | 
2  | 
    
    a d  | 
    
    2  | 
3  | 
    
    b f e f  | 
    
    4  | 
4  | 
    
    0  | 
 mvcount vf= [i=] [o=] [delim=] [-nfn] [-nfno] [-x] [--help] [--version]
   vf=   Specify the field names (from input file i=) of vectors to count the number of elements.   Field name(s) of result(s) can be defined with : followed after the vector name.   Multiple vectors can be specified.
  
    
     
    
       
    
    
    
     
  
    
    
$ more dat1.csv items1,items2 b a c,b c c, e a a,a a a $ mvcount vf=items1:size1,items2:size2 i=dat1.csv o=rsl1.csv #END# kgVcount i=dat1.csv o=rsl1.csv vf=items1:size1,items2:size2 $ more rsl1.csv items1,items2,size1,size2 b a c,b,3,1 c c,,2,0 e a a,a a a,3,3