Powershell Increment Global Variable Python