On the topological dimension of the solution set of a class of nonlocal elliptic problems