Elasticsearch NEST Document count for default index

You can use

var countResponse = client.Count<TestDocument>(c => c.AllTypes());

which will call the API

GET http://localhost:9200/test_docs/_count