I second talking to the guidance counselor. I expect he is fine especially since no other foreign languages are offered at the HS.
The years of foreign language generally refers to the highest level course taken. FWIW completion of AP Spanish is considered the fifth level of the language in my kid’s HS.