I have 4 objects: Contact, Attendee, Events, and Event Category. I want to create a rollup field on the Contact object to count total number of Events (where event category = Training) attended by Contact. The Contact and Event objects are related by a junction object called Attendee. See the image to better understand the task:
Is this possible to achieve the required results?