SELECT
    SUBSTRING_INDEX (SUBSTRING_INDEX (PROFILE, ',', -2), ',', 1) age,
    count(*)
from
    user_submit
GROUP BY
    age;