Multiplicity of periodic solutions of nonlinear wave equations