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 station ( id int, network_name text, services text, local_authority text )
TABLE: CREATE TABLE route ( train_id int, station_id int )
TABLE: CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int )
TABLE: CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text )

### Question ###
Compare all train names' total numbers, and show in asc by the names.

### Accurate SQL ###

SELECT name, COUNT(name) FROM train GROUP BY name ORDER BY name