I have table with following data.
I want to get distinct count of id for the values in another columns. See below expected output.
Could someone pleas