<commit_before>[[cat-count]]
== cat count

`count` provides quick access to the document count of the entire
cluster, or individual indices.

[source,sh]
--------------------------------------------------
% curl 192.168.56.10:9200/_cat/indices
green wiki1 3 0 10000 331 168.5mb 168.5mb
green wiki2 3 0   428   0     8mb     8mb
% curl 192.168.56.10:9200/_cat/count
1384314124582 19:42:04 10428
% curl 192.168.56.10:9200/_cat/count/wiki2
1384314139815 19:42:19 428
--------------------------------------------------<commit_msg>Update count.asciidoc<commit_after>[[cat-count]]
== cat count

`count` provides quick access to the document count of the entire
cluster, or individual indices.

[source,sh]
--------------------------------------------------
% curl 192.168.56.10:9200/_cat/indices
green wiki1 3 0 10000 331 168.5mb 168.5mb
green wiki2 3 0   428   0     8mb     8mb

% curl 192.168.56.10:9200/_cat/count
1384314124582 19:42:04 10428

% curl 192.168.56.10:9200/_cat/count/wiki2
1384314139815 19:42:19 428
--------------------------------------------------

NOTE: The document count indicates the number of live documents and does not include deleted documents which have not yet been cleaned up by the merge process.
{'fraction_non_alphanumeric': 0.23957481602616518, 'fraction_numerical': 0.19133278822567457, 'mean_word_length': 2.0147783251231526, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2742666', 'n_tokens_mistral': 522, 'n_tokens_neox': 365, 'n_words': 122}