We know that this residency is still in force, and a very common doubt is whether it counts for you to be able to apply for Spanish Nationality. YES OF COURSE that counts.
In addition, being Venezuelan you only need TWO YEARS of Legal Residence to opt to have the 3rd most powerful Passport in the World.
In the same way, you will be computed even if you have changed to another Residence, the important thing is Let the Residency be legal and continuous!
So, if you are a legal resident in Spain, what are you waiting for? Apply for your Spanish Nationality now!