You can’t start an expression with a number like that. One way you can get what you want is to set a custom state (number) to 1, and then you can build the expression custom state's value - Item B's number.
Edit: I just noticed you said a backend workflow, and you should be able to use a parameter (set to a value of 1) in the expression.