add index for leaf_dpt_dsc + minor fix for getting count