How long am I pregnant?

The first day of my last period was on April 28. So that would make me 6w+3d pregnant. But after my scan today, my doctor told me I'm 'only' 5w+5d. Can someone explain this to me. I feel stupid 😁.