I have this sentence 隣の席が私なのを、感謝しなさい

What does 私なの mean in this case? Why is there a を with a comma right after?
CC BY-SA 4.0
2020-05-01T19:05:23.700
76979
2021-07-09T16:43:15.450
2021-07-09T16:43:15.450
9831
38789
question
grammar particles nominalization
I don't understand 私なのを
It's nominalizing. The sentence means "be thankful that the person in the seat
next to you is me." But more literally, something like "be thankful for the
thing/fact/way that, the seat next to you is me."

You could express the same thing as 私であること, but this sounds much more formal.
CC BY-SA 4.0
2020-05-01T19:34:03.353
76980
2020-05-01T19:34:03.353
5379
76979
answer