I\'m trying to count the number of swaps made in Quick Sort without using a global variable. I tried something similar this Quick Sort Comparison Counter in Python post, but am