From bugs, count bugs whose status is not 'Closed', grouped by severity.
Return severity and open_bugs, sorted by open_bugs descending, then severity ascending.
Runs on the QA Shop practice database (customers, products, orders, order_items, payments, employees, bugs, test_runs, audit_log). Each run starts from a fresh copy.