I have village with 24 beds, 20 workstations and 21 villagers. And 12 golems. And I had more before but they fought with pillagers and 2 died.
Also since I found another one spawned inside library before, I know they keep spawning. And it is really getting crowded.
At least they seem to like one spot in village where they hang out most of the time and don't care about rest of the village.