Tom won 10 races. He won 2 the first year. He won the same number of races the third year that he won the second year. How many races did he win the second year?

Tom won 10 races. He won 2 the first year. He won the same number of races the third year that he won the second year. How many races did he win the second year?