считать в SQL и Diff
select (count(city)-count(distinct city)) from station;
Selfish Seahorse
select (count(city)-count(distinct city)) from station;