Task: Text to Code
Input (English): SQL: SELECT Rank , Count ( * ) FROM Faculty GROUP BY FacID
Feedback: Make sure to find number of rows of student table for each faculty id in student table .
Output (English): SELECT T1.FacID ,  count(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.FacID