'The number of HostQueueEntries assigned a Host for this job.'

def _hosts_assigned_count(self):

    entries = models.HostQueueEntry.objects.filter(job=self.id, host__isnull=False)
    return entries.count()
