new API call: terms stats