Arduino real-time conveyor counter