Count Same Elements In Array Python Example