The number of genders in grammar varies depending on the language.
Here are some examples:
* Romance languages (Spanish, French, Italian, etc.): typically have two genders: masculine and feminine.
* Germanic languages (English, German, Dutch, etc.): generally do not have grammatical gender, although some nouns might have distinct masculine/feminine forms in specific contexts (e.g., "waiter" vs. "waitress").
* Slavic languages (Russian, Polish, Czech, etc.): often have three genders: masculine, feminine, and neuter.
* Some Asian languages (Japanese, Korean, etc.): have two genders: masculine and feminine, but the distinction is not always as clear as in Romance languages.
It's important to note that grammatical gender does not always align with biological sex. For example, in French, the word for "sun" is masculine ("le soleil") even though the sun is not biologically male.
Ultimately, the number of genders in a language is determined by its specific grammatical system and is not necessarily connected to biological sex or gender identity.