Add support for counting and reporting skips in background tasks.