There is one sentence from this article I am not sure I understood correctly.
孤独を現実的に捉えている人は少ないですね。仕事が生きがいだったり、拘束されている分、自由に憧れる人もいます。
I need help on how だったり and 分 works here. This is how I interpret the bold sentence
仕事が生きがいだったり拘束されたりしていればいるほど、自由に憧れる人もいます。
Is that correct?