Powershell Group By Count In Python