Simplifies get-term-counts.