Powershell Group By Count In Sql