text_lint.operations.lookups.to_count.CountLookup

class text_lint.operations.lookups.to_count.CountLookup(lookup_name: str, lookup_expression: LookupExpression, lookup_params: AliasLookupParams, requesting_operation_name: str)[Quellcode]

Bases: LookupBase

CountLookup operation for ResultForest instances.

apply(state: LookupState) None[Quellcode]

Convert the current result set to a counted value.