Powershell Select String Count Python String Functions