-- Database schema
| Question : questiontext [ TEXT ] , questionid [ INTEGER ] primary_key | Survey : SurveyID [ INTEGER ] primary_key , Description [ TEXT ] | Answer : AnswerText [ TEXT ] , SurveyID [ INTEGER ] , UserID [ INTEGER ] , QuestionID [ INTEGER ] |
-- -- According to 2016's survey, what is the number of users with a mental health disorder in the past?

SELECT COUNT(T2.UserID) FROM Question AS T1 INNER JOIN Answer AS T2 ON T1.questionid = T2.QuestionID WHERE T2.SurveyID = 2016 AND T1.questiontext LIKE 'Have you had a mental health disorder in the past?' AND T2.AnswerText = 'Yes';