Hi,
I just tested and it seems to work on my end.
i can see that your action is faded out, which means that it is not active, so it is not looking for the length anymore.
It will only give the result from an action when the state/action is active.
Maybe you have a different action changing the (Length) variable value on a different state?