fix unfinished deadline count bug
add hw_num count