diff --git a/llvm/docs/CommandGuide/llvm-remarkutil.rst b/llvm/docs/CommandGuide/llvm-remarkutil.rst
--- a/llvm/docs/CommandGuide/llvm-remarkutil.rst
+++ b/llvm/docs/CommandGuide/llvm-remarkutil.rst
@@ -21,6 +21,7 @@
* :ref:`yaml2bitstream_subcommand` - Reserialize YAML remarks to bitstream.
* :ref:`instruction-count_subcommand` - Output function instruction counts.
* :ref:`annotation-count_subcommand` - Output remark type count from annotation remarks.
+ * :ref:`remark-count_subcommand` - Output total count for a provided keys in a remark.
.. _bitstream2yaml_subcommand:
@@ -108,3 +109,34 @@
::
Source,Function,Count
path:line:column,foo,3
+
+.. _remark-count_subcommand:
+
+remark-count
+~~~~~~~~~~~~~
+.. program:: llvm-remarkutil remark-count
+
+USAGE: :program:`llvm-remarkutil` remark-count --parser= --remark-name= --keys= [--collect-per-source] [--collect-per-function] -o