On the optimal number of advertising slots in a generalized second-price auction