getIndexedDocumentsCount

suspend fun getIndexedDocumentsCount(indexName: String, common: CommonOptions = CommonOptions.Default): Long

Throws

com.couchbase.client.core.error.IndexNotFoundException