Powershell Group By Count Python Array To String