Count Unique Python Df Preprocessing Techniques