Would colleges consider foreign language taken in middle school?

I took Spanish 1 in 6th and 7th grade and Spanish 2H in 8th grade. Then I took Spanish 3H in 9th and am taking AP Spanish Lang in 10th. Lastly, I am not sure if my school will offer Spanish Lit next year. Overall, how many years did I take a foreign language in the eyes of college admitters?

http://talk.collegeconfidential.com/college-admissions/1802227-faq-foreign-language.html

If you take AP Spanish you should meet the requirements for any college. It is the level you reach that is important.