Filter X packages

It could shows an example as to create a filter of X packages for second, to apply one action any.