There are some nouns that indicate length, measure, money, weight or number. When they are preceded by a numeral, they remain unchanged in form.
Foot, meter, pair, score, dozen, head, year, hundred, thousand, million.
Example:
1, It is a five – years degree course. (correct use- year)
2. I have seven dozens of shoes. (correct use- dozen)