How do astronomers estimate the total number of galaxies in the observable universe?

Answer

By counting galaxies in deep-field survey patches and extrapolating.

Astronomers use deep-field surveys, observing tiny, representative patches of seemingly empty sky for long periods, counting the galaxies observed, and extrapolating that number to estimate the total in the entire sky.

How do astronomers estimate the total number of galaxies in the observable universe?
measurementSpaceastronomymethodsstarsastrophysicstelescopesstar countingcounting