Measuring volumetric flow by oscillation