A bigram frequency counter