Powershell Increment Variable In Function Python Practice