Count the number of students who have advisors.
select count(distinct s_id) from advisor