updated plugin to set index cardinality and index range count