Theres is no way of telling.
1) you had multiple separate dreams and filled in the gaps when you were awake.
2) you had dreams throguh which you woke up near the end so it felt like it was one long dream.

Usually people try to make sense of their dreams by sticking it all the fragments together, so the dreams fragments were more than likely not related.