Powershell Group By Count Python String Format Codes