Hello and welcome to the forum. Clause analysis by diagramming is often seen as an uneccesary nightmare, but it can have its uses in helping to understand sentence structure. A quick count-up tells me that there are five subordinate clauses in 1) and two in 2).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.