John bought a total of 12 bags of candy for Halloween.

Each bag of candy was either a bag of Snickers or a bag of Milky Way bars.
He spent $4 on each bag of Snickers.
He spent $5 on each bag of Milky Way bars.
John spent a total of $58.
How many more bags of Snickers than Milky Way bars did John purchase?