The space of holomorphic foliations of codimension one and degree d ≥ 2 in P n (n ≥ 3) has an irreducible component whose general element can be written as a pullback F * F , where F is a general foliation of degree d in P 2 and F : P n P 2 is a general rational linear map. We give a polynomial formula for the degrees of such components.