Water consumption timer

Hi. I recently bought a home wizard water meter which is working great. I can see my water consumption in detail. I have an idea to create a dashboard to use under the shower to safe water. In that dashboard I want to show current L/min (that one is easy and already works) and a sort of timer that start measuring and displaying the water used since I started showering but haven’t found a way to do that. Is something like this possible?

Use the Riemann integration to get your volume used on the basis of your flow.