Task: Text to Code
Input (English): Step 1: For each row in station table, find the corresponding rows in route table.
Step 2: find each value of station_id in the results of step 1 along with the number of the corresponding rows to each value
Output (English): SELECT T1.network_name , Count ( * ) FROM station AS T1 JOIN route AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id