I want to randomize iron golem spawns

I want to implement something that alters the amount that iron golems spawn, basically I want them to spawn in a random number between 2-5 for example when the village first loads instead of just 1

Continue to help post