Powershell If Array Length Python