Nth Message Filter?

like Giedrius, I’ll go for Dispatcher when I only need 0 ≤ n < 16;

higher values of n can use a note value and Transpose to do the counting.

This program change patch shows a ± counting technique of this type.
(a somewhat similar previous version is described here)

Implementing the conditional and “reset to 0” stages can be done with Transforms.