Powershell Count Items In Python