Economies with a Finite Set of Equilibria