# Count list timestamp

## Description

This operation counts the number of elements in a given list of timestamps.

***

## Data types

These are the input/output expected data types for this operation:

### Input data

<img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FP4GrHIF7PUaFpaJ03hIO%2Fimage.png?alt=media&#x26;token=68457ece-c60e-4428-bd4f-d15c0f8b061e" alt="" data-size="line"> - The input lists of timestamps.

### Output data <a href="#output-data" id="output-data"></a>

<img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FibLjK96EzwJtH9Ijf6VZ%2Fimage.png?alt=media&#x26;token=45263389-8cc0-45f6-b70e-e40fbd907064" alt="" data-size="line"> - Number of elements in the input lists.

***

## Example

Suppose you want to **count the number of elements in your input list of timestamps**:

1. In your Pipeline, open the required [Action](https://docs.onum.com/the-workspace/pipelines/actions) configuration and select the input **Field**.
2. In the **Operation** field, choose **Count list timestamp**.
3. Give your **Output field** a name and click **Save**. You'll get the number of elements in your input timestamp lists. For example:

```
Input data - 2024-05-17T14:30:00Z, 2022-10-19T14:30:04Z, 1998-04-10T14:49:00Z

Output data - 3
```

{% hint style="info" %}
You can try out operations with specific values using the **Input** field above the operation. You can enter the value in the example above and check the result in the **Output** field.
{% endhint %}


---

# 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.onum.com/the-workspace/pipelines/actions/transformation/field-transformation/field-transformation-operations/list-manipulation/count-list-timestamp.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.
