I don't necessarily know any better, but I think that we can probably estimate the number of galaxies in the entire (observable and unobservable) universe given the assumptions that the composition of the universe is generally homogeneous and that the big bang theory is correct. If this is the case, we can calculate an approximate number of galaxies from the combination of observed galaxy density and the extrapolated size of the universe based on the time since the big bang.