Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE school (type VARCHAR, school_id VARCHAR)
TABLE: CREATE TABLE school_bus (school_id VARCHAR)

### Question ###
Show the type of school and the number of buses for each type.

### Accurate SQL ###

SELECT T2.type, COUNT(*) FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T2.type