Counts number of n gram sequence occurences