The ovary of a flower has 9 ovules, and each ovule has one megaspore mother cell that completes meiosis. In every ovule, one megaspore is functional and goes on to make an embryo sac of the usual kind. How many megaspores degenerate in all, and how many nuclei are there in all the mature embryo sacs together?