Solve the following sql problem:
How many female users were surveyed in the mental health survey for 2017 in the state of Nebraska?

Schema:
SCHEMA:
- Table: Question
  - Column: questiontext
    - Samples: [What is your age?, What is your gender?, What country do you live in?, If you live in the United States, which state or territory do you live..., Are you self-employed? (truncated)]
  - Column: questionid
    - Samples: [1, 2, 3, 4, 5]
- Table: Survey
  - Column: SurveyID
    - Samples: [2014, 2016, 2017, 2018, 2019]
  - Column: Description
    - Samples: [mental health survey for 2014, mental health survey for 2016, mental health survey for 2017, mental health survey for 2018, mental health survey for 2019]
- Table: Answer
  - Column: AnswerText
    - Samples: [37, 44, 32, 31, 31]
  - Column: SurveyID
    - Samples: [2014, 2014, 2014, 2014, 2014]
  - Column: UserID
    - Samples: [1, 2, 3, 4, 5]
  - Column: QuestionID
    - Samples: [1, 1, 1, 1, 1]

SELECT COUNT(*) FROM ( SELECT T2.UserID FROM Question AS T1 INNER JOIN Answer AS T2 ON T1.questionid = T2.QuestionID INNER JOIN Survey AS T3 ON T2.SurveyID = T3.SurveyID WHERE T3.Description = 'mental health survey for 2017' AND T1.questionid = 2 AND T2.AnswerText = 'Female' UNION SELECT T2.UserID FROM Question AS T1 INNER JOIN Answer AS T2 ON T1.questionid = T2.QuestionID INNER JOIN Survey AS T3 ON T2.SurveyID = T3.SurveyID WHERE T1.questionid = 4 AND T2.AnswerText = 'Nebraska' AND T3.Description = 'mental health survey for 2017' )