select age,count(*) as number
from (select device_id,substring_index(substring_index(profile,',',3),',',-1) as age from user_submit) a
group by age