Count Results
The
Counter action calculates the number of items in a set of repeating items. You can also set one or more conditions that items must match in order to be counted.
You must connect document-type results as input to this action.
Note: The result for this action is a simple number rather than a well-formed document.
Select item to count | |
Add Conditions / Remove All Conditions | To filter the set of repeating items that should be counted, click Add Conditions and complete one or more conditions. To remove all conditions, click Remove All Conditions. |
apply condition | If you add multiple conditions, use this option to determine whether all conditions or only one must be met for an item to be counted. |
left condition field | |
comparison function | If needed, change the comparison function for the filter condition: Contains = checks to see that the text characters you are filtering for are present somewhere in the field you have chosen to filter by. The comparison is not case sensitive, unless you set the Case Sensitive option. Does not contain = checks to see that the text characters you are filtering for are not present somewhere in the field you have chosen to filter by. The comparison is not case sensitive, unless you set the Case Sensitive option. Matches = checks to see that the characters you are filtering for are present somewhere in the field you have chosen to filter. Does not match = checks to see that the characters you are filtering for are not present somewhere in the field you have chosen to filter. = (equals), != (does not equal), > (is greater than), < ()is less than, >= (is greater than or equals) or <= ()is less than or equals = compares the entire value of the field you select with the value you set for the filter condition using standard numeric comparisons. |
right condition field | Set the value to check for in the right side of the condition. You can:  Enter a value, word or phrase directly in the right side of the filter condition. |
Case Sensitive | Set this option if the condition should be case sensitive. |
Add Condition | Add another condition. |
MashZone NextGen developers who know XPath well can use the Advanced Mode button to customize the XPath expressions for conditions. Use the advance mode with care, however, as it disables the display of conditions in basic mode. If you return the condition to basic mode, your customized XPath expression for the condition is lost.
Use Input Fields in Block Properties
You can use Input blocks to define input fields for the mashup to provide dynamic values for properties in other blocks. There are several ways to connect an Input block to a block property: