SELECT age,COUNT(*) number
FROM (SELECT SUBSTR(PROFILE,12,2) age
FROM user_submit) ages
GROUP BY age