Powershell Array Count Python Command To Stop