How is heart rate measured?

Pa

I had my 8 week ultrasound abdominally so couldn’t hear anything but saw the heart beat flicker. My doctor estimated it around 160. Is that what everyone else is getting too? A visual estimate?