Made the on_inner_index_write_complete a counted_t