How does a paddle-wheel flowmeter work?

Magnets are installed on each paddle of the sensor which is inserted into the liquid. As the paddle turns an electrical frequency output proportional to the flow velocity is generated.