Powershell Group By Count Python Array Example