Count Number Of Elements In Array Matlab