Syntax @Count([REJECTABLE][,[,[,]]][,NO_LOG]) Arguments REJECTABLE Rejects features if this keyword is specified. Range: N/A A counter name. Each time @Count is invoked, it returns and increments the count associated with the domain name. This allows many different counters to be used during a single translation. If this parameter is not specified, the default domain is assumed. Range: Any String The starting value of the counter. The counter is incremented from the start value. Range: Any Integer The modulo value of the counter. The counter returns a value between zero and - 1. Range: Any Integer NO_LOG Prevents FME from logging this domain. Range: N/A Configuration The @Count function accepts the following configuration line: Count MAX_TO_LOG If this configuration line is not present, a maximum of 50 count domains will be logged by default. Integer >= -1 Sets the maximum number of count domains that will be logged. If -1 is specified, all count domains are logged. Description This function provides a mechanism for generating unique numbers and assigning them to feature attributes during a translation. Because it outputs the final counts in each of the domains to the log file, it can also be used as a feature function to count features that matched the correlation lines. In this case, the log file records the total number of times the function was invoked, even though its result was not stored in any attribute. The optional domain parameter is used to have several different counters active during a single translation. For example, unique line numbers starting at 0 can be assigned to all lines by invoking @Count(lineCounter). During the same run, unique polygon numbers starting at 0 can be assigned to all polygons by using @Count(polygonCounter). If no domain name is specified, then the default domain will be assumed. The optional startVal parameter specifies a starting value for the counter. This is useful for applications where ranges of values have meanings in the problem domain. The optional modulo parameter enables a counter to be created that cycles from 0 to modulo - 1. This is useful when using counters as lookup values with the @Lookup function. The NO_LOG flag may be specified to prevent the FME from logging this domain. TO BE RESOLVED It appears as though there are a couple of other undocumented specifications for @Count: @Count(fme_attribute_name,[,[,]][,NO_LOG]) @Count(fme_encoded,[,[,]][,NO_LOG])