Quartz maintains the count.  I verified by commenting out heal entire org job, and having it throw a persistence exception, and watching logging for the number of retries.