..., most of whom ... (formal relative clauses) (B2 Grammar)

To say how many out of a group in a formal way, join the two halves with a comma and of whom (people) or of which (things). Use words like all, some, most, none, both before of.

all of whom, some of which

the house in which I grew up

In formal English, a small word like in, to, on can come before which / whom. It's the formal version of putting that small word at the end.

, which (a comment on the whole idea)

To comment on the whole idea in the first part (not just one noun), join it with a comma + which. Here which stands for the entire situation you just described — use which for this, never that.