Answer:
The total number of samples that give this outcome is 5.
Explanation:
Since Y takes values in {0,1,2,3}, For us to have that
implies that all of them are zero but one. The one that is non-zero necessarily is equal to 1. To calculate the number of samples that give this outcome is equivalent to counting the total number of ways in which we can pick the i-index such that
. Note that in this case we can either choose Y1 to be 1, Y2 to be 1 and so on. So, the total number of samples that give this outcome is 5.