Altered task-candidate test to include process/task variable count