Count-dependent matches