score:7
Because you are travelling to a country outside Canada, Mexico and the Caribbean, the clock does reset for you. When you arrive you will be given admission under a new visa waiver, which will get you another 90 days of stay in the US.
(If you were arriving from Canada, Mexico or the Caribbean you would by default be readmitted under the same waiver, which would compel you to leave before 90 days after your first admission. It's not clear if there is an option to do this when arriving from elsewhere, but there is no real reason to take that option anyway.)
Two close visits under VWP run the risk of the border officer thinking you might be trying to game the system, but the risk is very slight in your case, presuming you can provide evidence that you will leave the US, and especially if your total time in the US is less than 90 days.