What is the role of a flow meter in a heating system?