Improve node count estimate for pending jobs

Take more job options into consideration to estimate its node count.