-- Database schema
| Highschooler : ID [ INT ] primary_key , name [ TEXT ] , grade [ INT ] | Friend : student_id [ INT ] primary_key Friend.student_id = Highschooler.ID , friend_id [ INT ] Friend.friend_id = Highschooler.ID | Likes : student_id [ INT ] primary_key Likes.student_id = Highschooler.ID , liked_id [ INT ] Likes.liked_id = Highschooler.ID |
-- -- Show the names of high schoolers who have likes, and numbers of likes for each.

SELECT T2.name ,  count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id GROUP BY T1.student_id;