Fix job count for the different status.

Status "aborted" is now counted as failed.