A non EU passport gets 90 days in any rolling 180, not 90 days a year.
Add the trips you have taken and the ones you have booked, and see the days left.
A third country national may stay in the Schengen area for no more than 90 days in any 180 day period. It is a rolling window, not a calendar year, so days from the previous autumn still count against a trip in spring. Both the date of entry and the date of exit count as full days of stay, which makes a long weekend four days rather than two.
The full answer with its official sources
Three things are added together: days you are certified as present, days presumed between two certified presences, and sporadic absences. Sporadic absences count towards the total unless you prove tax residence elsewhere with a certificate. No trip length makes an absence stop being sporadic, and one documented day of presence counts in full, whatever the hours. The tax test is 183 days and is separate from the 90 day Schengen limit.
The full answer with its official sources
The tie-breaker in the double tax treaty decides. Where a person is resident in both states under each state's domestic law, the treaty tie-breaker overrides the domestic test. Norway, Sweden, Germany, the UK and France all have treaties with Spain. So a count of days in Spain is not the final answer for someone who also counts as resident at home, and the treaty has to be read alongside it.