Count Same Elements In Array Python Vs List