public int CountIndex(string indexName) { KeyValueStore indexStore = GetSecondaryIndex(indexName); return indexStore.Enumerate().Count(); }