Powershell Group By Count Python Command