<s>[INST] Write a SQL code to count the number of shops for each unique category quality control status.  [/INST] SELECT shop_category_qc_status, COUNT(*) AS total_shops_per_category_qc_status FROM order_transaction.transaction_detail_deprecated GROUP BY shop_category_qc_status; </s>