Control DC motor with encoding wheel

I am really new to the Arduino projects so i need some help.
I am building, actually i builded a turn table to take pictures and i would like to automatize the process.
I bought a 12 V DC motor with a gear box reducing the speed to 7 RPM. On the motor shaft i set an encoding wheel to check the rotation. The motor make the table turn, and after a certain number of turns of the encoding wheel the motor would stop to allow some camera processing. Note that i did manage the camera control from the Arduino sketch.

This is an overview of the mechanic.

I looked for an Arduino design to control the DC motor and stop it after a certain number of signals from the encoding wheel.

Being new at this i must say that i have no idea how to put this together, or the parts i should get, so if someone can direct me to some already made similar projects, or give me some hints, I would apreciate.

Thanks for any help.

Previous turntable post for info.

https://www.google.com/search?as_q=turntable&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=http%3A%2F%2Fforum.arduino.cc%2Findex&as_occt=any&safe=images&tbs=&as_filetype=&as_rights=

Thanks for the info and i spent part of the night on it.
I did find a lot of information i was looking for other parts of my project, as well as information regarding the encoding wheel part.
With the info I found, I manage d pretty well with the step motor, but is there a place where i could find a sketch, list of parts, and also a Fritzing type of schema more specific to the DC motor control and the use of an encoder wheel using Arduino?

Thanks