Translate the following question to SQL: How many events have each participants attended? List the participant id, type and the number.

Schema: CREATE TABLE Services (
    Service_ID INTEGER NOT NULL  PRIMARY KEY,
    Service_Type_Code CHAR(15) NOT NULL
);

CREATE TABLE Participants (
    Participant_ID INTEGER NOT NULL  PRIMARY KEY,
    Participant_Type_Code CHAR(15) NOT NULL,
    Participant_Details VARCHAR(255)
);

CREATE TABLE Events (
    Event_ID INTEGER NOT NULL  PRIMARY KEY,
    Service_ID INTEGER NOT NULL,
    Event_Details VARCHAR(255),
    FOREIGN KEY (Service_ID) REFERENCES Services(Service_ID)
);

CREATE TABLE Participants_in_Events (
    Event_ID INTEGER NOT NULL  PRIMARY KEY,
    Participant_ID INTEGER NOT NULL  PRIMARY KEY,
    PRIMARY KEY (Event_ID, Participant_ID),
    UNIQUE (Event_ID, Participant_ID),
    FOREIGN KEY (Event_ID) REFERENCES Events(Event_ID),
    FOREIGN KEY (Participant_ID) REFERENCES Participants(Participant_ID)
);
user
SELECT T1.Participant_ID ,  T1.Participant_Type_Code ,  count(*) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID GROUP BY T1.Participant_ID
assistant