Added DropIndex and CountIndex functions to the KeyValueStore