Find the total number of shops for each unique vat address id.

SELECT shop_vat_address_id, COUNT(*) AS total_shops_per_vat_address_id
FROM order_transaction.transaction_detail_deprecated
GROUP BY shop_vat_address_id;