Linear Actuator w/ Proximity Sensor and Counter

Start by building the mechanics. That's the most difficult part. Programming an Arduino for a motor control and some switches is the easy part.