The correct answer is B. 8.
The pole pitch is the distance between the centers of adjacent poles. In a two-layer lap winding, each coil spans two poles. Therefore, the pole pitch is equal to the coil pitch divided by 2. The coil pitch is the distance between the centers of adjacent coils. In a 4-pole generator with a two-layer lap winding, there are 8 coils. Therefore, the pole pitch is 8/2 = 4.
Option A is incorrect because it is the number of poles. Option C is incorrect because it is the number of coils. Option D is incorrect because it is twice the number of coils.