Count Same Elements In Array Python Example Code