Inline flow meter