SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(profile, ',', -2), ',', 1) age, COUNT(*) number FROM user_submit GROUP BY age;