disco_web: do not count the pending tasks among the total tasks of a stage.

The pending tasks are in the job_coordinator and have not been given to the
disco_server. Therefore, they should not be counted when calculating the number
of waiting tasks.