Count Same Elements In Array Matlab