Identify the number Of independent and subordinate clauses in the following group of words

Jean prepared for rain by packing an umbrella but the sun ended up coming out

There are two clauses here. Each could be a separate sentence. There are no subordinate clauses, so what do you think?