Powershell Select String Count Python Array Length