Isochronous and partially isochronous Hamiltonian systems are not rare