galaxies in a specific radius in different shapes of universe Let the distribution of galaxies be a number like $n$. we want to find the total number of galaxies within the radius $r$ from a specified point. in which shape of the universe (flat, open, closed) the number we get is higher? ($n,r$ are the same in this universes and only the area (volume) in each universe is different).
It seems clear to me that this is a homework question. I believe what the question is after is to look at the equations for distances in the universe as a function of curvature and see how this curvature affects things. Read, for example, sources like this one or this one.

As with most of things in cosmology, there's lots of equations and many ways to write them. A relevant equation would be the following angular diameter distance:

$$D_M = (1+z)^{-1}
\begin{cases}
\frac{1}{\sqrt{\Omega_k}}\sinh\left(\sqrt{\Omega_k}D_c/D_H\right), &amp; k = -1 \\
D_c, &amp; k = 0 \\
\frac{1}{\sqrt{\left|\Omega_k\right|}}\sin\left(\sqrt{\left|\Omega_k\right|}D_c/D_H\right), &amp; k = +1 \\
\end{cases}
$$

In this case, you can see the three forms it takes for a closed universe ($k=-1$), a flat universe ($k=0$), and an open universe ($k=+1$). It should be pretty clear that if you chose some volume with some radius calculated by $D_A$, you'd get different volume sizes and thus different amounts of galaxies in each volume for the three universe types.

By looking at the equations and playing around with them, you should be able to convince yourself which universe type results in the largest volume.