Logic calculate a numeric variable

I am trying to increase a number variable everytime the door sensor is triggered. Does this flow work, or should i calculate another way?

Hi Marcel, I have the same issue. Has your question been answered in any way?
Using the app Better Logic, it could be done by using variable. I try to minimize the number of installed apps in Homey. I hoped we would not need the Better Logic app anymore, because Homey V2 has variables an calculations built-in.

This flow does work very well.

Can u be more precise!
“Doesn’t work very well “ is not something we can use to answer.
In Better Logic there is a increment card like this:

You can check the increased variables in the logics through options. I am testing similar for reducing notifications