Exactly how many bad ideas does it take to produce a good one? One scientist tried to find out