[MINOR] stats: report number of tasks (active and running)

It may be useful for statistics purposes to report the number of
tasks.
3 files changed