1global NUM_COUNT 2 3if ( exist('NUM_COUNT') == 1) 4 NUM_COUNT=NUM_COUNT+length(x(:)); 5else 6 NUM_COUNT=length(x(:)); 7endif 8