Question: how many beds do villagers need to breed?
Answer: There must be one bed for each villager. If there is an excess of beds, villager breeding will commence. The population is counted based on whether the villagers are within 5 blocks of a door that is recognized as a valid house, in spherical distance.