Powershell Group By Count Python Method To Reverse