How To Count Elements In Array Matlab