CBIDXT-310: index.Count() for secondary index.

At present indexer iterates on index to measure the count.

Change-Id: Ic60d338f7383279b740afee90f57ae9f417fb69d