function

countclassesmatching

A built-in CFEngine function in the utils category that returns an integer. countclassesmatching is not called from the policy on your hosts.

Signature
countclassesmatching(string, [string], ...)
Parameters
  1. string Regular expression (.*)
  2. string Tag regular expression (.*)
Variadic: at least 1 arguments.
Returns
int
Category
utils