How many students are advised by each rank of faculty? List the rank and the number of students.
SELECT T1.rank ,  count(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.rank
SELECT T1.rank ,  count(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.rank
[{'Rank': 'AssocProf', 'count(*)': 2}, {'Rank': 'AsstProf', 'count(*)': 18}, {'Rank': 'Professor', 'count(*)': 14}]