Add ability to get number of scheduled tasks on a thread_pool.