# A counter for counting payload

**URL:** https://discourse.nodered.org/t/a-counter-for-counting-payload/57674
**Category:** General
**Created:** [2 February 2022 17:41 UTC](https://discourse.nodered.org/t/a-counter-for-counting-payload/57674 "2022-02-02T17:41:11Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [2 February 2022 17:44 UTC](https://discourse.nodered.org/t/a-counter-for-counting-payload/57674/2 "2022-02-02T17:44:14Z")

</div>

Possibly there is a contrib node however this is very easy to do with standard nodes.

Here is a solution I provided for another user : [Counting messages per main topic - #2 by Steve-Mcl](https://discourse.nodered.org/t/counting-messages-per-main-topic/56814/2)

---

_[View the full topic](https://discourse.nodered.org/t/a-counter-for-counting-payload/57674)._
