counting time spent on remand