Count jobs according to possible workflow prio.
Merge branch 'priority-changes-2' into priorityPropagation