Powershell Group By Count Python String Format Function In Python