If we talk of atoms then we can say that it is estimated that the there are between $10^{78}$ to $ 10^{82}$ atoms as per
https://www.universetoday.com/36302/atoms-in-the-universe/amp/
Else we can also state that :-
The answer to the question depends on what is meant by the universe. The standard cosmological model is that the universe is infinite. The only way the universe could be finite if it has a constant positive curvature, but the current measurement of the curvature implies that the universe is flat and therefore infinite.
However, the observable universe is finite. The observable universe is the part of the universe that we can see - and since the universe is only 13.7 billion years old, we can only see photons that reach us in less than 13.7 billion years. Therefore the observable universe is defined as only the parts of the universe that are within 13.7 billion light years of us.
The commonly accepted answer for the number of particles in the observable universe is $10^{80}$. This number would include the total of the number of protons, neutrons, neutrinos and electrons.
Now most of the photons in our universe are the photons from the cosmic microwave background radiation and it is estimated that there are $10^{9}$ photons for every particle in the universe so that would make $10^{89}$ photons in the universe.
Until we know what the dark matter particle is, we cannot make an accurate estimate of the number of dark matter particles. We do know that the total mass of the dark matter is about 6 times the mass of the particles in the universe. Currently, the favored theoretical candidate for the dark matter particle is the WIMP - the weakly interacting massive particle. These particles are assumed to be much heavier (x100?) than a proton, so if this is the dark matter particle then it would not significantly increase the number of particles in the universe. On the other hand, if the dark matter particle is the axion, it may be 1/1000th the mass of a proton (or less) so it could push up the particle count by several powers of 10.
We know even less about the dark energy in the universe, but the leading estimate is that it is "just" a small constant vacuum energy density. If the dark energy is just vacuum energy, then that would not increase the particle count for the universe.
Source:-
https://www.quora.com/How-many-particles-are-there-in-the-universe
Already answered on Quora by Frank Heile P.H.D Stanford University (1983).