Table:
|  |  | Year Ended December 31, |  |
| --- | --- | --- | --- |
|  | 2019 | 2018 | 2017 |
| Stock-based compensation expense data: |  |  |  |
| Sales and marketing | $2,075 | $1,196 | $561 |
| General and administrative | 6,474 | 4,901 | 2,638 |
| Research and development | 12,054 | 7,332 | 4,214 |
| Total stock-based compensation expense | $20,603 | $13,429 | $7,413 |
Paragraphs:
Results of Operations
(2) Operating expenses include stock-based compensation expense as follows (in thousands):
Question:
How many years did sales and marketing exceed $1,000 thousand?
Answer: Objects satisfying the requirements:
2019
2018
As a result, the answer is 2