Mod 5 means that there are five possible output values, and because it's a down-counter, they will be generated in descending order. Specifically, mod 5 means "the remainder after division by 5". If you divide any number by 5 and look at the remainder, it will always be either 0, 1, 2, 3 or 4...