It is not a matter of opinion. There are three genders. Male, female and intersex. Intersex is very uncommon however. Usually, if someone says he is neither male or female it's about body dysmorphia and such mental illness.
So the answer is three. Saying anything less or above three is unscientific.