Finding the number of a 4's or 15's in a factorial

Hey there.

Could someone please explain how do I find the number of 4’s in, say, 20!

I am unable to make anything out of the footnote in the following Quant Flashcard. Thanks.

Hint: relate the 4 to a prime.