Powershell Select String Count Python String Replace