something like these : (all different performance depending on #rows and indexes)?
non-correlated :
select * from
(select ctry,count(*) as cnt from tab1 group by ctry) A
, tab2 B
where A.ctry = B.ctry and A.cnt <> B.cnt
or
correlated
select * from
tab2 B
join table (select count(*) as cnt from tab1 A1 where A1.ctry = B.ctry ) A on 1=1
where A.cnt <> B.cnt
or
in where subselect (actual count(*) does not show up in result)
select * from
tab2 B
where B.cnt <> (select count(*) as cnt from tab1 A1 where A1.ctry = B.ctry )
I can explain it to you, but i can not understand it for you.