There is no specific number of genders.
Male and female are the two genders people are most familiar with, and these are commonly referred to as the gender binary.
There are also numerous gender identities that sit outside the gender binary.
Some examples include bi gender, gender-queer and gender-fluid, even though there are many more besides these.