code: public int seeders() {
      int count = 0;
      for (TrackedPeer peer : this.peers.values()) {
        if (peer.isCompleted()) {
          count++;
        }
      }
      return count;
    }
docs: Count the number of seeders (peers in the COMPLETED state) on this
  torrent.