Count Same Elements In Array Python Initialize Set