[PATCH] Support residual io counts from io engines