[ui] compute and show #waiting on job page.