Powershell Select String Count Python Array Index