APIs and Classes implementing the Stats component used for document frequency calculations.