The number of photons and sound waves in the universe is difficult to determine precisely, as it depends on various factors such as the size of the universe, the distribution of matter and energy, and the frequency and energy content of photons and sound waves. However, based on our current understanding, it is generally believed that there are significantly more photons in the universe than there are sound waves.
Photons are fundamental particles of light and other forms of electromagnetic radiation. They are produced by various sources, including stars, galaxies, and other energetic processes in the universe. Photons can travel through space and are emitted and absorbed by matter. Given the vast number of photons emitted by stars alone, along with the large-scale distribution of light sources in the universe, it is reasonable to assume that the number of photons is extremely large.
On the other hand, sound waves require a medium to propagate, such as air, water, or solids. In the vacuum of space, sound cannot travel because there is no medium to transmit the waves. While there may be localized regions within the universe where sound waves exist, such as in the vicinity of certain astrophysical phenomena, they are comparatively limited in their extent and distribution.
Therefore, considering the abundance and ubiquity of photons across the universe, as well as the absence of a pervasive medium for sound wave transmission in the vastness of space, it is likely that the number of photons in the universe surpasses the number of sound waves by a significant margin.