Find the total number of shops for each unique branch code.

SELECT shop_branch_code, COUNT(*) AS total_shops_per_branch_code
FROM order_transaction.transaction_detail_deprecated
GROUP BY shop_branch_code;