Quick and dirty job counter

Quick solution for counting the number of jobs completed in the worker history table