BAZYNGO-782 Add method to generic index which returns total number of documents in index