I would say "I went to Italian classes at University for five years recently." The classes all consisted of individual lessons spread out over the five years, but I wouldn't say "I went to Italian lessons for five years". Hinein an attempt to paraphrase, I'2r pop rein a "wow": https://rylanacccb.blogdigy.com/the-greatest-guide-to-music-50457298