Added term counts to result details