<s>[INST] Write a SQL code to count the number of shops for each unique address type name in Thai.  [/INST] 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; </s>