Unfortunately due to the way nodes are working, the AND node will execute both A and B regardless of whether A is false, which in this case impose a problem. Please consider using the Switch Condition to check (if Input.touchCount > 0) and after than make use of GetTouch(0).phase with a SwitchEnum flow control node:
(Note: To set the type of the SwitchEnum node, all you have to do is to drag and drop an enum port type like ‘TouchPhase’ is on the newly created SwitchEnum node.)