Add queue length to the debug output.