select count(*) FROM ( SELECT DISTINCT AVG(score) over ( partition by sid ) avgsc FROM SC ) t where t.avgsc > 60