The average number of trading days of most stock markets is 252 in a year, not including weekends and holidays. The specific value is different depending on the country and exchange calendar.
Most people use 252 trading days as the standard. It’s based on 365 days minus weekends and major holidays. It’s not exact every year, but it’s close enough for most financial models.