Powershell Select String Count Python String Methods