select count(*) from( select sId, avg(score) as avg_score from SC group by sId) t where avg_score > 60