Change count_jobs to used -l option with wc instead of awk