Change worker interface to return how many jobs were processed