In 2009 we used one of these on our turret.
http://search.digikey.com/us/en/prod...2021-ND/701375
It's designed for counting gear teeth but any ferrous material passing by it will trigger a detection. We counted the number of times a screw head mounted on the end of our roller/shooter would zip by the sensor.