# Get count

This is a pre-built action available under the **Captured Dropdown Element** from the **Desktop Application**. The functionality of this action in Avo Assure is to fetch the total number of options present in the dropdown and save the result in dynamic variable.

### Syntax

**Input Value:** `N/A`&#x20;

| Argument | Description    |
| -------- | -------------- |
| N/A      | Not Applicable |

**Output Value:**&#x20;

<table><thead><tr><th valign="top">Argument </th><th valign="top">Description </th></tr></thead><tbody><tr><td valign="top"><p>&#x3C;Dynamic Variable></p><p>(Required)</p></td><td valign="top">This dynamic variable holds the total number of items present in the dropdown list.</td></tr><tr><td valign="top"><p>&#x3C;Dynamic Variable></p><p>(Optional)</p></td><td valign="top">This dynamic variable holds the status of the action as <strong>True</strong> or <strong>False</strong>.</td></tr></tbody></table>

**Example**

**Retrieves the total number of items in a dropdown element**

The **Get count** action takes no input value and retrieves the total number of items present in the specified dropdown element. The result of the count operation is stored in the **{Count}** variable as (e.g., **4**)

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FowQZCd1Z3qcHAtnmN5W2%2Fimage.png?alt=media&#x26;token=f85bf824-b0a4-446e-a319-4557ee5ea615" alt=""><figcaption></figcaption></figure>
