On the unboundedness of the number of solutions of a Dirichlet problem