How many events have each participants attended? List the participant id, type and the number.
return participants ;return events #1 attended ;return number of #2 for each #1 ;return participant ids of  #1 ;return types of  #1 ;return #4 ,   #5 , #3
['select', 'project', 'group', 'project', 'project', 'union']