Growth Scan

I am 35w4d and had a growth scan this morning. Baby boy is estimated at about 5 1/2 pounds and the doctor feels he will be here before 38 weeks. How can they tell? I’m not ready! LOL