How to find unique count from excel range left to right

Hello Friends,

I want to find unique count in excel range by linq query, can anyone help me here.

Please see the screenshot, want unique count of blue color columns.