###HUMAN: How many events have each participants attended? Show their total number by each participant type code using a bar chart, rank in asc by the total number of count(*)., ###ASSISTANT: SELECT T1.Participant_Type_Code, SUM(COUNT(*)) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID = T2.Participant_ID GROUP BY T1.Participant_Type_Code ORDER BY SUM(COUNT(*))