# Example: a counter for incremental metrics

**URL:** <https://community.easymorph.com/t/example-a-counter-for-incremental-metrics/6140>\
**Category:** General Q&A\
**Created:** [May 6, 2025, 1:29pm UTC](https://community.easymorph.com/t/example-a-counter-for-incremental-metrics/6140 "2025-05-06T13:29:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [May 6, 2025, 1:29pm UTC](https://community.easymorph.com/t/example-a-counter-for-incremental-metrics/6140/1 "2025-05-06T13:29:27Z")

</div>

As [metrics in boards have become real-time](https://easymorph.com/blog/whats-new-in-easymorph-v595.html#ExplorerBoards), boards can now be used to monitor various processes in real time. For instance:

- Track the number of files (or data records) processed by an ETL job
- Count the number of orders placed online today
- Display the number of errors discovered by data quality checks in the most recent task run

![](https://community.easymorph.com/uploads/default/original/2X/6/605d660b37ec4e09bef4fd6c1e3b9ff50e0f6740.gif)  
The "real-timeliness" of metrics works well with another new feature - the "Increment" commands in the "Catalog command" and "Shared Memory" actions. The command makes it trivial to count things as it simply adds 1 (or whatever number you specify) to the specified metric.

Below is a simple project that you can use for building various counters. It increments a metric (Shared Memory key) during a day and resets on the next day.

[counter.morph](https://community.easymorph.com/uploads/short-url/8VpSxYJCBDv9SUl3nCSzMq4M49F.morph) (6.8 KB)

 ![image](https://community.easymorph.com/uploads/default/original/2X/f/f556e4753eee2ced44fbb27aa68c7e948340f7e5.png)
