= Adding Deltas to Counters
Increment or decrement counters with arbitrary values.

.Procedure

. Select a counter.
+
[source,options="nowrap",subs=attributes+]
----
counter my-weak-counter
----
+
. List the current count.
+
[source,options="nowrap",subs=attributes+]
----
[//containers/default/counters/my-weak-counter]> ls
5
----
. Increment the counter value by `2`.
+
[source,options="nowrap",subs=attributes+]
----
[//containers/default/counters/my-weak-counter]> add --delta=2
----
+
. Decrement the counter value by `-4`.
+
[source,options="nowrap",subs=attributes+]
----
[//containers/default/counters/my-weak-counter]> add --delta=-4
----

[NOTE]
====
Strong counters return values after the operation is applied. Use
`--quiet=true` to hide the return value.

For example, `add --delta=3 --quiet=true`.

Weak counters return empty responses.
====
