text: 
  select count(distinct q1.id) from
  site, post_link pl1, post_link pl2, question q1, question q2, question q3 where
  
  site.site_name = 'sqa' and
  q1.site_id = site.site_id and
  q1.site_id = q2.site_id and
  q2.site_id = q3.site_id and
  
  pl1.site_id = q1.site_id and
  pl1.post_id_from = q1.id and
  pl1.post_id_to = q2.id and
  
  pl2.site_id = q1.site_id and
  pl2.post_id_from = q2.id and
  pl2.post_id_to = q3.id and
  
  exists ( select * from comment where comment.site_id = q3.site_id and comment.post_id = q3.id ) and
  exists ( select * from comment where comment.site_id = q2.site_id and comment.post_id = q2.id ) and
  exists ( select * from comment where comment.site_id = q1.site_id and comment.post_id = q1.id ) and
  
  q1.score > q3.score;
  