Answer should be 6. The symbol ‘(‘ can never be popped from the stack whatever may be the precedence level of scanned character. If the character is closing round bracket ( ')' ), pop out operators from operator's stack until we find an opening bracket ('(' ) .
Due to this reason, the operator stack will contain +/((+*.
If you count this, these operators total to 6 & hence the answer.