~と思うと (just thinking about / whenever I think)
grammar1 sentence
The chain ~と思うと links a recurring or about-to-trigger thought to its emotional consequence — 'just the thought of X makes me Y.' The second と here is the conditional/temporal connector, not the quotative.
End of results — 1 loaded.