Or would have a few things such. The fountain stop?
There must be at least 10 doors and 5 villagers so it counts as a village.
As long as you hang a bell and have a bed, you have an empty village. A villager makes the whole thing a real village.
Before the 1.14 update