How is the flow accumulation function of the electromagnetic flow meter implemented?