Determine the total number of shops for each unique merchant status.

SELECT shop_address_type_name_th, COUNT(*) AS total_shops_per_address_type_name_th
FROM order_transaction.transaction_detail_deprecated
GROUP BY shop_address_type_name_th;