Program To Count Duplicate In Python How To Sort