# opCount · FT4 TypeScript client · Chromia Docs (concept)

> opCount(value: number): RuleVariableValue < AuthDescriptorRuleVariable > Creates an operation count rule variable object that can be passed
into a function

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/accounts.opCount/

Function

# opCount

* ```signature
  opCount(value: number): RuleVariableValue<AuthDescriptorRuleVariable>
  ```

  Creates an operation count rule variable object that can be passed
  into a function that produces a rule

  #### Parameters

  + value: number

    the operation count to use

  #### Returns [RuleVariableValue](https://docs.chromia.com/pages/ft4-ts-client/types/accounts.RuleVariableValue/)<[AuthDescriptorRuleVariable](https://docs.chromia.com/pages/ft4-ts-client/enums/accounts.AuthDescriptorRuleVariable/)>

  rule variable value

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/accounts.opCount.html)Generated API reference, mirrored from the live docs
