Filtre Django sur le champ connexe

len(Collection.objects.filter(item__flag=True).distinct())
Kind Kestrel