added trigram countings