Usually number of eggs produced by oviparous mothers is greater than number of young ones produced by viviparous mothers. The main reason for this is the need of resources required for development of the embryo. In oviparous the major part of development of the embryo takes place outside the uterus. This makes lesser burden on the mother.
On the other hand in viviparous animals the development takes place inside the uterus so lesser number of young ones can be successfully incubated. Moreover, once eggs are outside they are at risk of getting eaten by some predator because of their immobility, so need of more eggs is there to ensure continuity of progeny.