Powershell Increment Variable In Function Python