How many villagers do cats spawn in Minecraft?

Ru
2

I have gained the experience that cats can spawn with a certain number but from how many?

is

Googling helps.
In a village there must be a villager and 5 beds, then a cat will spawn.
The maximum is 10 cats, so 40 beds

Gu

How long deos it take