# Snippet - Counters & Running Totals

This snippet sample project demonstrates how to configure appRules Actions to generate and maintain counters and running totals without using scripts or code. &#x20;

The project uses a single ViewRuntimeValues activity accessing actions and conditions that have been defined for the demonstration.&#x20;

&#x20;

## **Actions**

9 Actions have been defined in the project:

<figure><img src="https://1923141441-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFjmFrZ8sef1J7qkr6H%2Fuploads%2F8RoEhpeP68wH142u54v7%2Fimage.png?alt=media&#x26;token=56bf59c0-38e9-42f2-9acc-63053975e43f" alt=""><figcaption></figcaption></figure>

## Conditions

2 Conditions have been defined in the project:

<figure><img src="https://1923141441-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFjmFrZ8sef1J7qkr6H%2Fuploads%2FK1LsIHDKqNEdYQDstNsQ%2Fimage.png?alt=media&#x26;token=e073bc36-f71b-49e4-b664-adf44abc539e" alt=""><figcaption></figcaption></figure>

## ViewRuntimeValues Activity

17 Entries have been added in the ViewRuntimeValues activity used in the project:

<figure><img src="https://1923141441-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFjmFrZ8sef1J7qkr6H%2Fuploads%2FrTPtxaoPacLWOkpOS5KV%2Fimage.png?alt=media&#x26;token=05a1a1a6-1a85-4863-8549-3e664104a107" alt=""><figcaption></figcaption></figure>

**When the project is run the results are shown as follows:**

<figure><img src="https://1923141441-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFjmFrZ8sef1J7qkr6H%2Fuploads%2FDBboZKMGQmvjsWAwxGMN%2Fimage.png?alt=media&#x26;token=3811f84d-b4e1-4ce5-b0f3-499529dc2c4c" alt=""><figcaption></figcaption></figure>
