You won’t be. It is the same answer as the precedent one. You will need to move context outwards until everything needed is within that same context scope.
I suggest you read again the first post I have referred to. It may take a few times to realize it, but trying to extract values from content is usually not the good solution.
Same problem as this How to convert content to length