I had the same experince in the past thinking I didn’t sleep at all while having some sleep amongs the twists and turns but of low quality, shallow and REMless sleep which I found unsatisfying. Luckily I get that much less these days though I do sleep in chunks of a couple of hours and do wake up in between. It’s really a bad habit and probably having to do with sleep apneea.