How many wires does a linear actuator have?

How many wires does a linear actuator have?

Normally there are 2 wires, but if you add hall sensor, there will be 6 wires.