title: Count more than one occurrence in a Django query
body: <p>I have two models: Players and Tournaments. </p>
  
  <p>Players have also a type of game they play (dota, lol, magic, etc). They can participate in many tournaments at the same time (only once per Tournament). To manage the inscriptions, I use another model called TournamentMatch, that creates a new object for every inscription with the ID of the tournament and the player.</p>
  
  <pre class="lang-py prettyprint-override"><code>class Player(models.Model):
      name = models.CharField(_('name'), max_length=150, null=True, blank=True)
      email = models.EmailField(_('email address'), unique=True)
      is_dota_player = models.BooleanField(default=False)
      is_lol_player = models.BooleanField(default=False)
      is_magic_player = models.BooleanField(default=False)
  
  class Tournament(models.Model):
      name = models.CharField(max_length=200)
      date_start = models.DateField()
      date_end = models.DateField()
  
  class TournamentMatch(models.Model):
      tournament = models.ForeignKey(Tournament)
      player = models.ForeignKey(Player)
      date_added = models.DateTimeField(auto_now_add=True)
      date_modified = models.DateTimeField(auto_now=True)
  </code></pre>
  
  <p><strong>I want to count the number of Players that have more than two inscription to tournaments and are, for example, dota players.</strong> </p>
  
  <p>I can easily achieve this with a for loop for every player, but for perfomance reasons, I want to achieve this using a Django query.</p>
  
  <p>For example, if I want to count the dota players that have one or more inscription, I will do:</p>
  
  <pre class="lang-py prettyprint-override"><code>TournamentMatch.objects.filter(
      player__is_dota_player=True
  ).distinct(
     'player'
  ).count()
  </code></pre>
  
  <p>I'm sure is possible but I don't know how to count every ocurrence of distinct players on tournaments and only filter those that have more than one (and not only one).</p>
  
  <p>I will appreciate any help or pointers!</p>