Powershell Group By Count Sql Example