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