The actress was diagnosed with PCOS and endometriosis after getting an egg count done