Add support of optional number of jobs to be checked