termCount method

int termCount(
  1. String term
)

Returns the count where Token.term == term.

Implementation

int termCount(String term) => byTerm(term).length;