Powershell Select String Count Python Method To Reverse