# Get Total Column Count

This is a pre-built Action located under the Table captured from the AUT Element, instructs the Avo Assure to retrieve the total count of the columns present in the table and save the result in the given dynamic variable.

### Syntax

**Input Value:** `N/A`

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

**Output Value**

| Argument                                 | Description                                                          |
| ---------------------------------------- | -------------------------------------------------------------------- |
| <p>\<Dynamic Variable><br>(Required)</p> | This dynamic variable holds the total number of columns in the table |
| <p>\<Dynamic Variable><br>(Optional)</p> | This variable save the result in the **True** or **False**           |

**Example**

**Retrieves the total column count of the captured table**

The **Get Total Column Count** action does not require any input value. It evaluates the structure of the captured table and retrieves the total number of columns present. The total column count is stored in the **{ColumnCount}** variable and the execution status is saved in the **{Status}** variable with the following possible values:

* **True** – if the total column number extracted successfully&#x20;
* **False** – if an error occurs during extraction

<figure><img src="/files/6Bj7djVhVPrSl9Iy1mnF" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/FXNi0eQ0WEO9i3vcGXnC" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/web/table/get-total-column-count.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
