Show different locations of railways along with the corresponding number of railways at each location.
create table railway (location varchar, PRIMARY KEY (location))
select location, count(*) from railway group by location