Get Count Of Duplicate Values In Array Python