# Get column count

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

### Syntax

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

<table><thead><tr><th valign="top">Argument </th><th valign="top">Description </th></tr></thead><tbody><tr><td valign="top">N/A</td><td valign="top">Not Applicable</td></tr></tbody></table>

**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 column count.</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 columns in a captured table**

The **Get column count** action does not require any value in the Input Value column. It automatically counts the number of columns present in the captured table element from the application and stores the result in the **{Col Count}** variable as (**5**)

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FY3CtjDiPnXiZYrPBIt6C%2Fimage.png?alt=media&#x26;token=7ed31454-c580-41fd-811a-7e3e499f003f" alt=""><figcaption></figcaption></figure>
