How does a flow meter detect chemical substances in oil?