5-10 planets per star seems a little high.
The best method is to notice when a planet passes in front of its star, by how it gets slightly dimmer. That only works if its orbit happens to be directly between us and that star.
Caveat++: That light reaching earth from far away galaxies was then, this is now.
I'm sure the number of solid bodies — potential habitats for life or artificial constructs — in our universe is magnitudes larger than the number of stars we've detected, and the latter is already a mind boggling quantity.