Refactor job#stats