how to store value on an amount on an item

I want to make an airtank for my datapack. how exactly can I make it "refillable"? I want to increment its fuel amount by 20 units
Continue to help post