Well, like I said with my own failure in the "planet" I was looking for, finding them is super hard, but scientists tend to be pretty clever people and they used a lot of different techniques and started observing stars.