Equilibrium in an Imperfect Market: A Constraint on the Number of Securities in the Portfolio