How make an cumulative total tag?

I need help making an cumulative total tag from a gas flow meter. I have seen some things on making a query, but I’m not too sure how to do that. I’m still learning how to use Ignition.

Welcome!
Make sure to do a prev search before opening a new thread