Python Count Duplicate In Array