instruction: Find the number of courses that have two prerequisites for each title in a bar chart, and rank y-axis in asc order.
response: SELECT title, COUNT(title) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY title ORDER BY COUNT(title)