In an very full village, there was just 4 types of villagers: farmers, fishermans, pastors and villagers wich sell arrow stuff (sorry, I dont know its name), the was more than 30 villagers, but just these types of villagers, and there was more than 6 villagers of the same type
To my knowledge some villager professions are determined by what house they are generated in it depends on if there was a blacksmith/church & library in there some of the village houses/huts generate random professions. but if you are breeding villagers the baby’s profession is random check this link out for more information https://minecraft.gamepedia.com/Villager