counter for years
「年」 has other readings with different meanings.
year
もう何年も会っていない。
I haven't seen them for years.
十年の歳月があっという間に過ぎた。
Ten years passed in the blink of an eye.
千年の歴史を持つ神社を訪れてみたいです。
I'd like to visit a shrine with a thousand years of history.