count all failed jobs