The document tested is a part, assembly or drawing.  

Apply the operation if the part contains N functions with a specific name.

Example : If, in the document, the number of functions named Scan is greater than "6"Then the operation is applied.