Analog totalizing function

Excuse me, using AIMA-4 to measure the instantaneous flow rate of a pump, 4-20 mA corresponds to 0-1000 m/H. Users want to get the total cumulative value of the pump in a period of time, and get the water volume of one day or one month from this total amount. What is a good way to accomplish this task? I remember an article on the forum about the accumulation of analog quantities? Is it okay to use this command (Get Analog Totalizer Value)?