Powershell Measure Object Count In Python