added 'Jobs since last success'

Please review and let me know of the results.
You should initialize this in summary at line 244, e.g. summary['jobs_since_last_success'] = 0.
Doing this here sets the count to zero for each item in query_results, so the most jobs_since_last_success you will see is 1.