Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Half days are also counted.
I am not able to find websites that provide the information for the past years.
Trading Days on Wikipedia
For the calculation method, check out:
Calculation for trading days in a year
Required, but never shown