Powershell Select String Count Function In Python Time