Gravida is the number of pregnancies a woman has had, regardless of outcome. How is gravida defined, and what does it encompass in terms of a woman's pregnancy history?