Suppose that yesterday, I had been walking from noon to 4pm. I took a rest at these times: 12:45pm, 1:20pm, 2pm, 2:25pm, and so on. I have written down two similar sentences below.
(1) During my four-hour walk, I took a rest many times.
(2) During my four-hour walk, I rested many times.
Which one is correct?