select count() as n from (from s INTERSECT from t);