--- /dev/null
+<h1>NOTMUCH-COUNT(1)</h1>
+
+<h2>NAME</h2>
+
+<pre>
+ notmuch-count - Count messages matching the given search terms.
+</pre>
+
+<h2>SYNOPSIS</h2>
+
+<pre>
+ <b>notmuch</b> <b>count</b> [<u>options</u>... ] <<u>search-term</u>>...
+</pre>
+
+<h2>DESCRIPTION</h2>
+
+<pre>
+ Count messages matching the search terms.
+</pre>
+
+<pre>
+ The number of matching messages (or threads) is output to stdout.
+</pre>
+
+<pre>
+ With no search terms, a count of all messages (or threads) in the data-
+ base will be displayed.
+</pre>
+
+<pre>
+ See <b>notmuch-search-terms</b>(7) for details of the supported syntax for
+ <search-terms>.
+</pre>
+
+<pre>
+ Supported options for <b>count</b> include
+</pre>
+
+<pre>
+ <b>--output=(messages|threads)</b>
+</pre>
+
+<pre>
+ <b>messages</b>
+</pre>
+
+<pre>
+ Output the number of matching messages. This is the
+ default.
+</pre>
+
+<pre>
+ <b>threads</b>
+</pre>
+
+<pre>
+ Output the number of matching threads.
+</pre>
+
+<pre>
+ <b>--exclude=(true|false)</b>
+</pre>
+
+<pre>
+ Specify whether to omit messages matching search.tag_exclude
+ from the count (the default) or not.
+</pre>
+
+<h2>SEE ALSO</h2>
+
+<pre>
+ <b>notmuch</b>(1), <b>notmuch-config</b>(1), <b>notmuch-dump</b>(1), <b>notmuch-hooks</b>(5), <b>not-</b>
+ <b>much-new</b>(1), <b>notmuch-reply</b>(1), <b>notmuch-restore</b>(1), <b>notmuch-search</b>(1),
+ <b>notmuch-search-terms</b>(7), <b>notmuch-show</b>(1), <b>notmuch-tag</b>(1)
+</pre>
+
+<h1>Notmuch 0.13.2</h1>