Why is this number?

1367=1
2680=4
5028=3
9876=4
5822=2
8264=3
Take any example! 8976 = 4! and now look we take the example 8,9,6 as contained in the zeros?? we add these zeros and we obtain 4 ;)