Ah, from what your original post said, it seemed like you obtained a mantis and was told it was "pregnant." You had not mentioned housing it with a male.
I've been able to candle Phyllocrania oothecae and see whether or not eggs are developing by looking for the developing eyes. You cannot tell immediately and have to wait a few weeks before you can see anything.
She will only lay one ootheca at a time and fill it with all the mature eggs she's produced since maturing or her last ootheca. My experience is that they'll lay about one ootheca every week or every other week depending on feeding and temperature. I've gotten as many as thirty nymphs per ootheca and as few as two. The number of eggs varies depending on how well fed they are kept and how old the females are. They tend to produce fewer and fewer eggs as they grow older.
Fertility will also decrease over time, so the number of eggs will not always match the number of hatchlings. Either the females cease to be capable of producing viable eggs, run out of stored sperm, they lose the ability to keep sperm viable, or the sperm they've stored loses its viability over time. I have had older females mated with fresh males produce infertile oothecae, so I'm assuming it's that they lose the ability to keep stored sperm viable or they are no longer capable of producing viable eggs--the same females had laid oothecae that produced 20-30 nymphs during the first couple of month of their adult lives.