Returns the amount of failed jobs in a given queue.