How many genders are there?

I meant moreso the ability to carry sperm or eggs, I would have said carry children for the female but then again the female seahorse puts the fertilized eggs in the male seahorse for him to birth them, so not always true.