What is the role of a flow meter in a swimming pool system?