-- Count of text records that have exactly one translation
SELECT COUNT(*) as text_with_single_translation
FROM vgate.text t
WHERE (
    SELECT COUNT(*) 
    FROM vgate.translation tr 
    WHERE tr.text_id = t.id
) = 1;
