Harmonic forms and Betti numbers of certain contact Riemannian manifolds