Program To Count Duplicate In Python