Question: how many doors to spawn villagers?
Answer: An infinite villager breeder can consist of 6 doors that are more than 5 blocks away from the breeding villagers, with a villager nearby to register the doors to a village.