Matlab Write String Array Count