Powershell Increment Variable In Function Python Questions