Powershell Group By Count Python Command Line