I have this metric in mi table:
+--------------+---------+
| days of week | User_id |
+--------------+---------+
|(1,2,3,6,7) | user1 |
+--------------+---------+
|(3,4,7) | user2 |
+--------------+---------+
|(1,2) | user3 |
+--------------+---------+
|(2,3,4,5,6,7) | user4 |
+--------------+---------+
|.... | .... |
+--------------+---------+
Those numbers represent the days of the week that the users choose.
1 -> Monday
2 -> Tuesday
3 -> Wednesday
4 -> Thursday
5 -> Friday
6 -> Saturday
7 -> Sunday
I would like to get the number of distinct users by days of week:
1 (Monday) -> 2 users
2 (Tuesday) -> 3 users
3 (Wednesday) -> 3 users
4 (Thursday) -> 2 users
5 (Friday) -> 1 users
6 (Saturday) -> 2 users
7 (Sunday) -> 3 users
I use SQL in BigQuery. Thank you!

