Fix variable mismatch for job counts
Merge pull request #296 from nbougalis/quickfix-jobcount

Fix variable mismatch for job counts