Taking it further, the soul evolves over many lifetimes. The pattern is seven embodiments male, seven female. On that change into the other gender, there may be momentums hanging over from the past seven. When these are amplified by aberrant psychology and chemistry, the individual reaches out for relief in a gender change. But it’s only palliative, and regret ensues sooner or later. But we always know our gender before embodiment, as that it what the individual needs and accepts for soul development.
First, there is no set number.
Second, they alternate as one must raise both masculine and feminine in balance.
This is why couples tend to resonate when they meet a partner at the same level of development.
It’s a bit more complicated than that. I can only speak from what I directly observe and experience. I do not speculate based upon theories, beliefs, or experiences of others.