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". In an attempt to paraphrase, I'kreisdurchmesser pop in a "wow": https://fremdgehen92357.blogsvila.com/33896158/indikatoren-für-techno-sie-wissen-sollten