Year Ended December 31,
Year Ended December 31,
Year Ended December 31,
2019
2018
2017
Stock options and assumed options
$3,783
$3,511
$3,913
Restricted stock units
16,627
9,770
3,366
Restricted stock awards
—
1
19
Employee stock purchase plan
193
147
115
Total stock-based compensation expense
$20,603
$13,429
$7,413
Tax benefit from stock-based awards
$5,154
$7,581
$12,719
note 15 .
stock-based compensation .
the following table summarizes the components of non-cash stock-based compensation expense -in thousands : .
2015 equity incentive plan .
we issue stock options pursuant to our 2015 plan .
the 2015 plan allows for the grant of stock options to employees and for the grant of nonqualified stock options stock appreciation rights restricted stock awards restricted stock unit awards or rsus performance-based stock awards and other forms of equity compensation to our employees directors and non-employee directors and consultants .
in june 2015 our board of directors adopted and our stockholders approved our 2015 plan pursuant to which we initially reserved a total of 4700000 shares of common stock for issuance under the 2015 plan which included shares of our common stock previously reserved for issuance under our amended and restated 2009 stock incentive plan or the 2009 plan .
the number of shares of common stock reserved for issuance under the 2015 plan will automatically increase on january 1 each year for a period of not more than ten years commencing on january 1 2016 through january 1 2024 by 5 % of the total number of shares of common stock outstanding on december 31 of the preceding calendar year or a lesser number of shares as may be determined by the board of directors .
as a result of the adoption of the 2015 plan no further grants may be made under the 2009 plan .
as of december 31 2019 6527550 shares remained available for future grant under the 2015 plan .
stock options .
stock options under the 2015 plan have been granted at exercise prices based on the closing price of our common stock on the date of grant .
stock options under the 2009 plan were granted at exercise prices as determined by the board of directors to be the fair market value of our common stock .
our stock options generally vest over a five-year period and each option if not exercised or forfeited expires on the tenth anniversary of the grant date .
certain stock options granted under the 2015 plan and previously granted under the 2009 plan may be exercised before the options have vested .
unvested shares issued as a result of early exercise are subject to repurchase by us upon termination of employment or services at the original exercise price .
the proceeds from the early exercise of stock options are initially recorded as a current liability and are reclassified to common stock and additional paid-in capital as the awards vest and our repurchase right lapses .
there were 250 and 957 unvested shares of common stock outstanding subject to our right of repurchase as of december 31 2019 and 2018 respectively .
we repurchased 27 and 107 of these unvested shares of common stock related to early exercised stock options in connection with employee terminations during the years ended december 31 2019 and 2018 respectively .
we recorded less than $ 0 .
1 million in accounts payable accrued expenses and other current liabilities on our consolidated balance sheets for the proceeds from the early exercise of the unvested stock options as of december 31 2019 and 2018 .
we account for stock-based compensation options based on the fair value of the award as of the grant date .
we recognize stock-based compensation expense using the accelerated attribution method net of actual forfeitures in which compensation cost for each vesting tranche in an award is recognized ratably from the service inception date to the vesting date for that tranche .
we value our stock options using the black-scholes option pricing model which requires the input of subjective assumptions including the risk-free interest rate expected term expected stock price volatility and dividend yield .
the risk-free interest rate assumption is based upon observed interest rates for constant maturity u .
s .
treasury securities consistent with the expected term of our stock options .
the expected term represents the period of time the stock options are expected to be outstanding and is based on the " simplified method .
" under the " simplified method " the expected term of an option is presumed to be the mid-point between the vesting date and the end of the contractual term .
we use the " simplified method " due to the lack of sufficient historical exercise data to provide a reasonable basis upon which to otherwise estimate the expected term of the stock options .
beginning in november 2019 the expected volatility for options granted is based on historical volatilities of our stock over the estimated expected term of the stock options .
the expected volatility for options granted prior to november 2019 was based on historical volatilities of our stock and publicly traded stock of comparable companies over the estimated expected term of the stock options .
there were 186500 219450 and 252100 stock options granted during the years ended december 31 2019 2018 and 2017 respectively .
we declared and paid dividends in june 2015 in anticipation of our ipo which we closed on july 1 2015 .
subsequent to the ipo we do not expect to declare or pay dividends on a recurring basis .
as such we assume that the dividend rate is 0 % .

Question: How many years did Stock options and assumed options exceed $3,000 thousand?
Answer: 3