Abstract: A power tool operated by an air motor having a rotor with radially moving vanes, and means for counting the vanes passing an electro-magnetic sensor mounted on the motor housing. A valve connected to the counter is operative to terminate rotation of the motor and the tool when the vanes corresponding to a predetermined angle of rotation have passed adjacent the sensor.