DOCS-1184 indexStats() command

Ready for merge.