Add n-gram counter