Confused about due date..

Va
Ok the first day of my last period was July 13th. Wondering if that's the day they start counting weeks bc my doctor tells me I am 29 weeks today but when I count from the 13th I count 30 weeks???