Powershell Group By Count Sql Statement Syntax