n-gram count and freq