A multiplicity theorem for a perturbed second order nonautonomous system