How many students have advisors?
select count(distinct s_id) from advisor