query: SELECT T1.rank ,  count(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.rank
question: Show all the faculty rank and the number of students advised by each rank.
query_toks: SELECT T1.rank , count ( * ) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.rank
query_toks_no_value: select t1 . rank , count ( * ) from faculty as t1 join student as t2 on t1 . facid = t2 . advisor group by t1 . rank
question_toks: Show all the faculty rank and the number of students advised by each rank.