We consider perturbed pendulum-like equations on the cylinder of the form where Qn,s are trigonometric polynomials of degree n , and study the number of limit cycles that bifurcate from the periodic orbits of the unperturbed case c0737039aa8c5c2" title="Click to view the MathML source">ε=0 in terms of m and n. Our first result gives upper bounds on the number of zeros of its associated first order Melnikov function, in both the oscillatory and the rotary regions. These upper bounds are obtained expressing the corresponding Abelian integrals in terms of polynomials and the complete elliptic functions of first and second kind. Some further results give sharp bounds on the number of zeros of these integrals by identifying subfamilies which are shown to be Chebyshev systems.