The collection sharding state provides a method to append to server status the total number of scheduled range deleter tasks for a node.
Purpose of this ticket is to let the range deleter service offer a totalNumOfRegisteredTasks method so that - when disabling the legacy range deleter - the code snipped linked above can be replaced by a call to the new method.