At a local electronics store, games and movies were on sale. Games were priced at $5.00 and movies at $2.00. Gabriel bought a total of 10 items between games and movies, and spent a total of $29.00. How many movies did he purchase?