How to filter objects for count annotation in Django? August 12, 2022 by Magenaut Consider simple Django models Event and Participant: