async def METHOD_NAME(self):
    tournament = await Tournament.create(name="tournament")
    event = await Event.create(name="First", tournament=tournament)
    await Event.create(name="Second", tournament=tournament)
    team = await Team.create(name="1")
    team_second = await Team.create(name="2")
    await event.participants.add(team, team_second)
    fetched_tournaments = (
        await Tournament.all()
        .prefetch_related(
            Prefetch(
                "events", queryset=Event.annotate(teams=Count("participants")).filter(teams=2)
            )
        )
        .first()
    )
    self.assertEqual(len(fetched_tournaments.events), 1)
    self.assertEqual(fetched_tournaments.events[0].pk, event.pk)