You need as many violin lessons as it takes to reach your personal goals, depending on how good you are now, how much you practice, and how qualified your teacher is. Most folks need to take violin classes regularly for many months before they can play a basic song or read music.
Generally, it takes about 3 to 6 years to start playing many different songs quite well. If you want to play like a professional, it often takes more than 10 years of ongoing practice and tutoring.