select substring_index(substring_index(profile,",",-2),",",1) as age,count(*) as number from user_submit group by age substring_index(substring_index(profile,",",-2),",",1)