On the Betti numbers of a loop space