TRQ-2292: Properly calculate tasks count from nodes resource.
Merge pull request #254 from DSRCompany/TRQ-2292_zero_tasks_qstat_report

TRQ-2292: Properly calculate tasks count from nodes resource.