add IO count, attempt on task 4 and 5