To select the count of individual s1_s2 values the following query may help
select s1_s2, count(s1_s2) as res
from city_user
group by s1_s2;
To obtain the sum of res column the following query may help
select sum(res) as sum
from
(select s1_s2, count(s1_s2) as res
from city_user
group by s1_s1)
city_user;
which is the same as
select count(s1_s2) as count
from city_user;
Reason: It's because you are trying to group the column based on s1_s2 and obtain its count and store it as Res column and calculate its sum which is same as the number of rows for s1_s2 in the table.
SELECT COUNT(*) FROM city_user;.