The data in order would be
0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5.
The middle number or the median of this data is 3.
To find the mean, add all of these numbers together and then divide them by the number of all the data points, which is 20.
54 ÷ 20 = 2.7. 2.7 is the mean.