How To Count Number Of Elements In Array Matlab Onramp Self