Would this count as a missed pill?

My boyfriend and I had unprotected sex last night, and he did cum in me. I am on the pill, but when I got home I forgot to take it. I usually take it at 11 pm every night, but when I woke up at 5 am it came to me that I hadn't yet took my pill, and took it then...I'm curious if this counts as a missed pissed since I was only 7 hours late than the full 24 hours.