Ultrasound question ftm

fnu
How many ultrasound do they perform during whole pregnancy? I heard there will be only 2 .1st one early scan to find out due date and then on 20th week to find gender.Rest depends on doc if she feels a need of another one then only you will have.Is it right?