How many bubbles does it take to predict an economic crisis?